ReadSeq[A: A]¶
The readable interface of a sequence.
Public Functions¶
size¶
Returns the number of elements in the sequence.
Returns¶
- USize val
apply¶
Returns the i-th element of the sequence. Raises an error if the index is out of bounds. Note that this returns this->A, not A.
Parameters¶
- i: USize val
Returns¶
- this->A ?
values¶
Returns an iterator over the elements of the sequence. Note that this iterates over this->A, not A.
Returns¶
- Iterator[this->A] ref^