implementors ( class/classes -- seq ) (original) (raw)
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 classs |
---|
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
GENERIC: implementors ( class/classes -- seq )
Methods
USING: assocs classes classes.private namespaces sets ;
M: class implementors implementors-map get at members ;