Operations on a Segment
which force evaluation of some part or all of a segments elements.
Creates a segment with the specified values.
Creates a segment backed by an array.
Creates a segment backed by 0 or more other segments.
Creates a segment backed by 0 or more other segments.
Creates an infinite segment of the specified value.
Creates an empty segment of type O
.
Creates a segment which outputs values starting at n
and incrementing by by
between each value.
Creates a segment backed by an IndexedSeq
.
Creates a segment which outputs no values and returns r
.
Creates a segment backed by a Seq
.
Creates a segment which outputs a single value o
.
Creates a segment by successively applying f
until a None
is returned, emitting
each output O
and using each output S
as input to the next invocation of f
.
Creates a segment by successively applying f
until a None
is returned, emitting
each output chunk and using each output S
as input to the next invocation of f
.
Creates a segment backed by a Vector
.