define-temp ( quot effect -- word )
Factor handbook » The language » Words » Word introspection » Uninterned words

Prev:gensym ( -- word )


Vocabulary
words

Inputs
quota quotation
effectan effect


Outputs
worda word


Word description
Creates an uninterned word that will call quot when executed.

Notes
The following phrases are equivalent:
[ 2 2 + . ] call


[ 2 2 + . ] ( -- ) define-temp execute


This word must be called from inside with-compilation-unit.

Definition