lzip ( list1 list2 -- result )
Lazy lists ยป Manipulating lazy lists

Prev:ltake ( n list -- result )


Vocabulary
lists.lazy

Inputs
list1a cons object
list2a cons object


Outputs
resulta lazy list


Word description
Performs a similar functionality to that of the zip word, but in a lazy manner.

Examples
USING: kernel lists lists.lazy math prettyprint ; 1 lfrom 10 [ 10 + ] lfrom-by lzip 5 swap ltake list>array .
{ { 1 10 } { 2 20 } { 3 30 } { 4 40 } { 5 50 } }


Definition