A lazy sequence. Its steps are only executed when the sequence is iterated.
Each item goes through the full pipeline before the next item is processed.
It doesn't expose the constructor, you should create a LazySeq using
the lazy function.
The sequence is immutable, so each operation returns a new sequence. It is an
Iterable
itself, so you can for..of over it, or use the spread operator to convert
it to an array.
Remark
This is just a convenient wrapper around iterables that allows you to chain
operations together with a nice syntax. You can use the rest of the library
in the pipe and fold methods.
A lazy sequence. Its steps are only executed when the sequence is iterated. Each item goes through the full pipeline before the next item is processed.
It doesn't expose the constructor, you should create a LazySeq using the lazy function.
The sequence is immutable, so each operation returns a new sequence. It is an Iterable itself, so you can
for..of
over it, or use the spread operator to convert it to an array.Remark
This is just a convenient wrapper around iterables that allows you to chain operations together with a nice syntax. You can use the rest of the library in the pipe and fold methods.
Example