Handbook
Glossary
final
Factor handbook
»
The language
»
Objects
»
Tuples
»
Tuple subclassing
Prev:
When not to use tuple subclassing
Vocabulary
syntax
Syntax
TUPLE: ... ; final
Word description
Declares the most recently defined word as a final tuple class which cannot be subclassed. Attempting to subclass a final class raises a
bad-superclass
error.
Definition
USING:
classes.tuple
words
;
IN:
syntax
SYNTAX:
final
last-word
make-final
;