Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
definition ( defspec -- seq )
Factor documentation
>
Factor handbook
>
The implementation
>
Definitions
>
Definition protocol
Prev:
definer ( defspec -- start end )
Vocabulary
definitions
Inputs and outputs
defspec
a definition specifier
seq
a sequence
Generic word contract
Outputs the body of a definition.
Examples
USING: definitions math prettyprint ; \ sq definition .
[ dup * ]
Notes
This word is used in the implementation of
see
.
Definition
IN:
definitions
GENERIC:
definition
( defspec -- seq )
Methods
USING:
alien.parser
definitions
kernel
;
M:
alien-callback-type-word
definition
drop
f
;
USING:
alien.parser
definitions
kernel
;
M:
alien-function-alias-word
definition
drop
f
;
USING:
alien.c-types
definitions
kernel
;
M:
c-type-word
definition
drop
f
;
USING:
definitions
quotations
words
words.constant
;
M:
constant
definition
"constant"
word-prop
literalize
1quotation
;
USING:
definitions
kernel
words
;
M:
deferred
definition
drop
f
;
USING:
accessors
definitions
descriptive
words
;
M:
descriptive-lambda
definition
"lambda"
word-prop
body>>
;
USING:
definitions
descriptive
words
;
M:
descriptive
definition
"descriptive-definition"
word-prop
;
USING:
accessors
alien.c-types
alien.enums
definitions
;
M:
enum-c-type-word
definition
lookup-c-type
members>>
;
USING:
definitions
generic
kernel
;
M:
generic
definition
drop
f
;
USING:
definitions
kernel
multi-methods
;
M:
generic
definition
drop
f
;
USING:
accessors
definitions
locals.definitions
words
;
M:
lambda-macro
definition
"lambda"
word-prop
body>>
;
USING:
accessors
definitions
locals.definitions
words
;
M:
lambda-memoized
definition
"lambda"
word-prop
body>>
;
USING:
accessors
definitions
locals.definitions
words
;
M:
lambda-method
definition
"lambda"
word-prop
body>>
;
USING:
accessors
definitions
locals.definitions
words
;
M:
lambda-word
definition
"lambda"
word-prop
body>>
;
USING:
definitions
help.topics
;
M:
link
definition
article-content
;
USING:
definitions
macros
words
;
M:
macro
definition
"macro"
word-prop
;
USING:
definitions
memoize
words
;
M:
memoized
definition
"memo-quot"
word-prop
;
USING:
definitions
multi-methods
sequences
;
M:
method-spec
definition
unclip
method
definition
;
USING:
classes.mixin
definitions
kernel
;
M:
mixin-instance
definition
drop
f
;
USING:
definitions
kernel
words
;
M:
primitive
definition
drop
f
;
USING:
definitions
delegate
delegate.private
;
M:
protocol
definition
protocol-words
show-words
;
USING:
definitions
kernel
words.symbol
;
M:
symbol
definition
drop
f
;
USING:
definitions
quotations
variables
words
;
M:
typed-variable
definition
"variable-type"
word-prop
1quotation
;
USING:
definitions
typed
words
;
M:
typed-word
definition
"typed-def"
word-prop
;
USING:
definitions
kernel
variables
;
M:
variable
definition
drop
f
;
USING:
accessors
definitions
help.topics
words
;
M:
word-link
definition
name>>
"help"
word-prop
;
USING:
accessors
definitions
words
;
M:
word
definition
def>>
;