Handbook
Glossary
<method> ( class generic -- method )
Factor handbook
»
The language
»
Objects
»
Generic words and methods
»
Generic word introspection
Prev:
make-generic ( word -- )
Next:
M\
Vocabulary
generic
Inputs
class
a
class
generic
a
generic
Outputs
method
a new method definition
Word description
Creates a new method.
Definition
USING:
accessors
kernel
words
;
IN:
generic
:
<method>
( class generic -- method )
check-method
[
method-word-name
f
<word>
]
[
method-word-props
]
2bi
>>props
;