Combinators for manipulating lazy lists
Lazy lists

Prev:Manipulating lazy lists
Next:Lazy list I/O


The following combinators create lazy lists from other lazy lists:
lmap-lazy ( list quot -- result )

lfilter ( list quot: ( elt -- ? ) -- result )

luntil ( list quot: ( elt -- ? ) -- result )

lwhile ( list quot: ( elt -- ? ) -- result )

lfrom-by ( n quot: ( n -- o ) -- result )

lcartesian-map ( list quot: ( elt1 elt2 -- newelt ) -- result )

lcartesian-map* ( list guards quot: ( elt1 elt2 -- newelt ) -- result )