Handbook
Glossary
role
Roles
Prev:
ROLE-TUPLE:
Next:
multiple-inheritance-attempted ( classes -- * )
Vocabulary
roles
Class description
The superclass of all role classes. A
role
is a
mixin-class
that includes a set of slot definitions that can be added to
tuple
classes alongside other
role
s.
Definition
USING:
classes.mixin
kernel
words
;
IN:
roles
PREDICATE:
role
<
mixin-class
"role-slots"
word-prop
>boolean
;