fry ( object -- quot )
Factor handbook » The language » Fried quotations

Prev:Fried quotation philosophy


Vocabulary
fry

Inputs
objectan object


Outputs
quota quotation


Word description
Outputs a quotation that when called, fries object by taking values from the stack and substituting them in.

Notes
This word is used to implement '[; the following two lines are equivalent:
[ X ] fry call '[ X ]


Examples
See Examples of fried quotations.

Definition

GENERIC: fry ( object -- quot )


Methods