StreamT monad transformer.
- Companion
- object
Value members
Concrete methods
Converts this StreamT
to a lazy Stream
, i.e. without forcing
evaluation of all elements. Note, however, that at least one element
of this stream will be evaluated, and depending on the structure of
this stream, up to two elements might be evaluated.
Converts this StreamT
to a lazy Stream
, i.e. without forcing
evaluation of all elements. Note, however, that at least one element
of this stream will be evaluated, and depending on the structure of
this stream, up to two elements might be evaluated.
foldRight
with potential to terminate early, e.g. on an infinite stream.
foldRight
with potential to terminate early, e.g. on an infinite stream.
Warning: Requires evaluation of the whole stream. Depending on
the monad M
, the evaluation will happen either immediately, or
will be deferred until the resulting Stream
is extracted from the
returned M
.
Warning: Requires evaluation of the whole stream. Depending on
the monad M
, the evaluation will happen either immediately, or
will be deferred until the resulting Stream
is extracted from the
returned M
.
Warning: Requires evaluation of the whole stream. Depending on
the monad M
, the evaluation will happen either immediately, or
will be deferred until the resulting Stream
is extracted from the
returned M
.
Warning: Requires evaluation of the whole stream. Depending on
the monad M
, the evaluation will happen either immediately, or
will be deferred until the resulting Stream
is extracted from the
returned M
.