☰
infix ..
hasInterval.infix ..
create a list from this interval
create a stream of all the elements of this interval, in order.
string representation of this interval, e.g., "1..10"
apply function f to all elements in this interval
Create a Sequence that is stepping through this interval skipping values. For a
non-negative step parameter, the stream will return lower, lower+step,
lower+2*step, etc. as long as these values are <= upper.
For a negative step parameter, the stream will return upper, upper+step,
upper+2*step, etc. as long as these values are >= lower. Note that this means
that a negative step will produce a non-empty stream for an empty interval with
lower > upper!
non-negative step parameter, the stream will return lower, lower+step,
lower+2*step, etc. as long as these values are <= upper.
For a negative step parameter, the stream will return upper, upper+step,
upper+2*step, etc. as long as these values are >= lower. Note that this means
that a negative step will produce a non-empty stream for an empty interval with
lower > upper!
use map implementation from Sequence:
special cases of interval a..b:
a < b: the interval from a to b, both inclusive
a == b: the interval containing only one element, a
a > b: an empty interval