Handbook
Glossary
implementors ( class/classes -- seq )
Factor handbook
»
The language
»
Objects
»
Generic words and methods
»
Generic word introspection
Prev:
effective-method ( generic -- method )
Next:
make-generic ( word -- )
Vocabulary
classes
Inputs
class/classes
a
class
or a
sequence
of
class
s
Outputs
seq
a sequence of generic words
Word description
Finds all generic words in the dictionary implementing methods for the given set of classes.
Definition
IN:
classes
GENERIC:
implementors
( class/classes -- seq )
Methods
USING:
assocs
classes
classes.private
namespaces
sets
;
M:
class
implementors
implementors-map
get
at
members
;
USING:
classes
sequences
sets
;
M:
sequence
implementors
[
implementors
]
gather
;