Vocabularylists.lazyInputslist1 | a cons object |
list2 | a cons object |
Outputsresult | a lazy list of list2 appended to list1 |
Word descriptionPerform a similar functionality to that of the
append word, but in a lazy manner. No evaluation of the list elements occurs initially but a
lazy-append object is returned which conforms to the list protocol. Calling
car,
cdr or
nil? on this will evaluate elements as required. Successive calls to
cdr will iterate through list1, followed by list2.
See alsoleach,
foldl,
lmap-lazy,
ltake,
lfilter,
lfrom,
lfrom-by,
lconcat,
lcartesian-product,
lcartesian-product*,
lcartesian-map,
lcartesian-map*,
lmerge,
lwhile,
luntilDefinition