Internal state of the range iterators. Do not depend on its internals.
- next : Option α
- upperBound : α
Instances For
The pure function mapping a range iterator of type IterM to the next step of the iterator.
This function is prefixed with Monadic in order to disambiguate it from the version for
iterators of type Iter.
Instances For
The pure function mapping a range iterator of type Iter to the next step of the iterator.
Instances For
An efficient IteratorLoop instance:
As long as the compiler cannot optimize away the Option in the internal state, we use a special
loop implementation.
Instances For
Internal state of the range iterators. Do not depend on its internals.
- next : Option α
- upperBound : α
Instances For
The pure function mapping a range iterator of type IterM to the next step of the iterator.
This function is prefixed with Monadic in order to disambiguate it from the version for iterators
of type Iter.
Instances For
The pure function mapping a range iterator of type Iter to the next step of the iterator.
Instances For
An efficient IteratorLoop instance:
As long as the compiler cannot optimize away the Option in the internal state, we use a special
loop implementation.
Instances For
Internal state of the range iterators. Do not depend on its internals.
- next : Option α
Instances For
The pure function mapping a range iterator of type IterM to the next step of the iterator.
This function is prefixed with Monadic in order to disambiguate it from the version for iterators
of type Iter.
Instances For
The pure function mapping a range iterator of type Iter to the next step of the iterator.
Instances For
An efficient IteratorLoop instance:
As long as the compiler cannot optimize away the Option in the internal state, we use a special
loop implementation.