read-only


Vocabulary
syntax

Syntax
TUPLE: ... { slot read-only } ... ;


Inputs
None

Outputs
None

Word description
Defines a tuple slot to be read-only. If a tuple has read-only slots, instances of the tuple should only be created by calling boa, instead of new. Using boa is the only way to set the value of a read-only slot.

See also
initial:

Definition