Types
Iterator. Parent type for all specific iterator types.
- ArrIter
-
Arr (array) iterator.
- ConstIter
-
Iterator that returns given value forever.
- HashIter
-
EXPERIMENTAL Hash iterator.
- RangeIter
-
NOT IMPLEMENTED YET. Iterator that returns values in the given range
Constructors
Iter(i:Iter)
Supports "for i in existing_iterator"
Iter(arr:Arr)
Calls ArrIter constructor.
Methods
drop(i:Iter, n:Int)
Fetch and drop next n values from iterator i.
Iter(i:Iter)
Supports "for i in existing_iterator"
take(i:Iter, n:Int)
Fetch and convert to array next n values from iterator i.