Handbook
Glossary
>quotation ( obj -- quot )
Factor handbook
»
The language
»
Collections
»
Quotations
Prev:
Wrappers
Next:
1quotation ( obj -- quot )
Vocabulary
quotations
Inputs
obj
a
sequence
or a
word
Outputs
quot
a
quotation
Word description
Outputs a freshly allocated quotation with the elements of a sequence, or a single executable word. Converting a word has the same result as passing it to
1quotation
.
Definition
IN:
quotations
GENERIC:
>quotation
( obj -- quot )
Methods
USING:
arrays
quotations
quotations.private
sequences
;
M:
sequence
>quotation
>array
array>quotation
;
inline
USING:
quotations
words
;
M:
word
>quotation
1quotation
;
inline