combinators.smart vocabulary
Factor documentation > Factor handbook > Vocabulary index


Documentation
Smart combinators

Meta-data
Tags:extensions
Authors:Doug Coleman


Words

Generic words
WordStack effect
infer-known*( known -- effect )


Macro words
WordStack effect
map-reduce-outputs( quot mapper reducer -- quot )
smart-2map-reduce( 2map-reduce-quots -- quot )
smart-2reduce( 2reduce-quots -- quot )
smart-map-reduce( map-reduce-quots -- quot )
smart-reduce( reduce-quots -- quot )


Ordinary words
WordStack effect
append-outputs( quot -- seq )
append-outputs-as( quot exemplar -- seq )
cleave>array( obj quots -- array )
cleave>sequence( x seq exemplar -- array )
drop-inputs( quot -- )
drop-outputs( quot -- )
dropping( quot -- quot' )
infer-known( value -- effect )
input<sequence( seq quot -- )
input<sequence-unsafe( seq quot -- )
inputs( quot -- n )
inputs/outputs( quot -- in out )
keep-inputs( quot -- )
map-outputs( quot mapper -- )
nullary( quot -- )
output>array( quot -- array )
output>sequence( quot exemplar -- seq )
outputs( quot -- n )
preserving( quot -- )
reduce-outputs( quot operation -- )
smart-apply( quot n -- )
smart-if( pred true false -- )
smart-if*( pred true false -- )
smart-unless( pred false -- )
smart-unless*( pred false -- )
smart-when( pred true -- )
smart-when*( pred true -- )
smart-with( param obj quot -- obj curry )
sum-outputs( quot -- n )


Files
resource:basis/combinators/smart/smart.factor
resource:basis/combinators/smart/smart-docs.factor
resource:basis/combinators/smart/smart-tests.factor