lists.lazy vocabulary
Factor handbook > Vocabulary index


Documentation
Lazy lists

Meta-data
Tags:extensions, collections
Authors:Chris Double, Samuel Tardieu, Matthew Willis


Words

Tuple classes
ClassSuperclassSlots
lazy-append tuplelist1 list2
lazy-concat tuplecar cdr
lazy-cons-state tuplecar cdr
lazy-filter tuplecons quot
lazy-from-by tuplen quot
lazy-io tuplestream car cdr quot
lazy-map tuplecons quot
lazy-take tuplen cons
lazy-until tuplecons quot
lazy-while tuplecons quot
lazy-zip tuplelist1 list2
memoized-cons tupleoriginal car cdr nil?
sequence-cons tupleindex seq


Symbol words
+not-memoized+


Ordinary words
WordStack effect
1lazy-list( a -- lazy-cons )
2lazy-list( a b -- lazy-cons )
3lazy-list( a b c -- lazy-cons )
<lazy-append>( list1 list2 -- lazy-append )
<lazy-concat>( car cdr -- lazy-concat )
<lazy-cons-state>( car cdr -- lazy-cons-state )
<lazy-filter>( cons quot -- lazy-filter )
<lazy-io>( stream car cdr quot -- lazy-io )
<lazy-map>( cons quot -- lazy-map )
<lazy-take>( n cons -- lazy-take )
<lazy-until>( cons quot -- lazy-until )
<lazy-while>( cons quot -- lazy-while )
<lazy-zip>( list1 list2 -- lazy-zip )
<memoized-cons>( cons -- memoized-cons )
<sequence-cons>( index seq -- sequence-cons )
lappend-lazy( list1 list2 -- result )
lazy-cons( car cdr -- promise )
lcartesian-map( list quot: ( elt1 elt2 -- newelt ) -- result )
lcartesian-map*( list guards quot: ( elt1 elt2 -- newelt ) -- result )
lcartesian-product( list1 list2 -- result )
lcartesian-product*( lists -- result )
lconcat( list -- result )
lcontents( stream -- result )
lfilter( list quot: ( elt -- ? ) -- result )
lfrom( n -- result )
lfrom-by( n quot: ( n -- o ) -- result )
llines( stream -- result )
lmap-lazy( list quot -- result )
lmerge( list1 list2 -- result )
ltake( n list -- result )
luntil( list quot: ( elt -- ? ) -- result )
lwhile( list quot: ( elt -- ? ) -- result )
lzip( list1 list2 -- result )
sequence-tail>list( index seq -- list )


Class predicate words
WordStack effect
lazy-append?( object -- ? )
lazy-concat?( object -- ? )
lazy-cons-state?( object -- ? )
lazy-filter?( object -- ? )
lazy-from-by?( object -- ? )
lazy-io?( object -- ? )
lazy-map?( object -- ? )
lazy-take?( object -- ? )
lazy-until?( object -- ? )
lazy-while?( object -- ? )
lazy-zip?( object -- ? )
memoized-cons?( object -- ? )
sequence-cons?( object -- ? )


Files


Children from resource:basis
VocabularySummary
lists.lazy.exampleslists.lazy.examples vocabulary


Children
VocabularySummary
lists.lazy.privatelists.lazy.private vocabulary