Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

infix :

has_interval.infix ...infix :

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!

Functions

list representation of values in this interval
does this range contain the given value?