combinators vocabulary - Factor Documentation (original) (raw)

combinators vocabulary
Factor handbook » Vocabulary index

Documentation
Combinators

Metadata

Authors: Slava Pestov, Daniel Ehrenberg

Words

Tuple classes

Class Superclass Slots
no-case tuple object
no-cond tuple
wrong-values tuple quot call-site

Ordinary words

Word Stack effect
2cleave ( x y seq -- )
2cleave>quot ( seq -- quot )
3cleave ( x y z seq -- )
3cleave>quot ( seq -- quot )
4cleave ( w x y z seq -- )
4cleave>quot ( seq -- quot )
alist>quot ( default assoc -- quot )
call-effect ( quot effect -- )
case ( obj assoc -- )
case-find ( obj assoc -- obj' )
case>quot ( default assoc -- quot )
cleave ( x seq -- )
cleave>quot ( seq -- quot )
cond ( assoc -- )
cond>quot ( assoc -- quot )
deep-spread>quot ( seq -- quot )
execute-effect ( word effect -- )
linear-case-quot ( default assoc -- quot )
no-case ( object -- * )
no-cond ( -- * )
shallow-spread>quot ( seq -- quot )
spread ( objs... seq -- )
to-fixed-point ( ... object quot: ( ... object(n) -- ... object(n+1) ) -- ... object(n) )
wrong-values ( quot call-site -- * )

Class predicate words

Word Stack effect
no-case? ( object -- ? )
no-cond? ( object -- ? )
wrong-values? ( object -- ? )

Files

resource:core/combinators/combinators.factor
resource:core/combinators/combinators-docs.factor
resource:core/combinators/combinators-tests.factor

Metadata files

resource:core/combinators/authors.txt
resource:core/combinators/summary.txt

Children from resource:core

Vocabulary Summary
combinators.short-circuit Short-circuiting logical operations

Children from resource:basis

Vocabulary Summary
combinators.random
combinators.short-circuit Short-circuiting logical operations
combinators.smart Combinators which infer arities

Children from resource:extra

Vocabulary Summary
combinators.extras
combinators.syntax Syntactic sugar for common combinators
combinators.tuple