call(
Factor handbook » The language » Combinators » Fundamental combinators

Prev:execute ( word -- )
Next:execute(


Vocabulary
syntax

Syntax
call( stack -- effect )


Word description
Calls the quotation on the top of the stack, asserting that it has the given stack effect. The quotation does not need to be known at compile time.

Examples
TUPLE: action name quot ; : perform-action ( action -- ) [ name>> print ] [ quot>> call( -- ) ] bi ;


See also
call

Definition