lfrom ( n -- result )
Lazy lists ยป Constructing lazy lists

Prev:>list ( object -- list )


Vocabulary
lists.lazy

Inputs
nan integer


Outputs
resulta lazy list of integers


Word description
Return an infinite lazy list of incrementing integers starting from n.

Examples
USING: lists.lazy prettyprint ; 10 lfrom .
T{ lazy-from-by { n 10 } { quot [ 1 + ] } }


See also
leach, foldl, lmap-lazy, ltake, lfilter, lappend-lazy, lfrom-by, lconcat, lcartesian-product, lcartesian-product*, lcartesian-map, lcartesian-map*, lmerge, lwhile, luntil

Definition