Tuple slot declarations
Factor handbook » The language » Objects » Tuples

Prev:Tuple subclassing
Next:Protocol slots

The slot specifier syntax of the TUPLE: parsing word understands the following slot attributes:
class declaration: values must satisfy the class predicate
whether a slot is read only or not (read-only)
an initial value (initial:)

Read-only slots
Slot class declarations
Initial values of slots