sequences.deep vocabulary
Factor handbook > Vocabulary index


Documentation
Deep sequence combinators

Meta-data
Tags:collections
Authors:Daniel Ehrenberg, Doug Coleman


Words

Generic words
WordStack effect
branch?( object -- ? )


Ordinary words
WordStack effect
(deep-find)( ... obj quot: ( ... elt -- ... ? ) -- ... elt ? )
deep-all?( ... obj quot: ( ... elt -- ... ? ) -- ... ? )
deep-any?( ... obj quot: ( ... elt -- ... ? ) -- ... ? )
deep-each( ... obj quot: ( ... elt -- ... ) -- ... )
deep-filter( ... obj quot: ( ... elt -- ... ? ) -- ... seq )
deep-filter-as( ... obj quot: ( ... elt -- ... ? ) exemplar -- ... seq )
deep-find( ... obj quot: ( ... elt -- ... ? ) -- ... elt )
deep-map( ... obj quot: ( ... elt -- ... elt' ) -- ... newobj )
deep-map!( ... obj quot: ( ... elt -- ... elt' ) -- ... obj )
deep-member?( obj seq -- ? )
deep-reduce( ... obj identity quot: ( ... prev elt -- ... next ) -- ... result )
deep-reject( ... obj quot: ( ... elt -- ... ? ) -- ... seq )
deep-reject-as( ... obj quot: ( ... elt -- ... ? ) exemplar -- ... seq )
deep-subseq?( subseq seq -- ? )
flatten( obj -- seq )
flatten-as( obj exemplar -- seq )


Files