classes.tuple vocabulary
Factor handbook ยป Vocabulary index


Documentation
Tuples

Metadata
Parents:classes
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
bad-superclass tupleclass
no-slot tuplename tuple
too-many-slots tupleclass slots got max


Predicate classes
ClassSuperclass
immutable-tuple-class tuple-class
tuple-class class


Generic words
WordStack effect
boa-effect( class -- effect )
final-class?( object -- ? )
make-final( class -- )
slots>tuple( seq class -- tuple )


Ordinary words
WordStack effect
>tuple( seq -- tuple )
?offset-of-slot( name tuple -- n/f )
all-slots( class -- slots )
bad-superclass( class -- * )
define-boa-word( word class -- )
define-tuple-class( class superclass slots -- )
forget-slot-accessors( class slots -- )
from-slots( assoc class -- tuple )
get-slot-named( name tuple -- value )
no-slot( name tuple -- * )
offset-of-slot( name tuple -- n )
set-slot-named( value name tuple -- )
set-slots( assoc tuple -- )
too-many-slots( class slots got max -- * )
tuple-hashcode( depth obj -- hash )
tuple-slots( tuple -- seq )
tuple=( tuple1 tuple2 -- ? )
tuple>array( tuple -- array )


Class predicate words
WordStack effect
bad-superclass?( object -- ? )
immutable-tuple-class?( object -- ? )
no-slot?( object -- ? )
too-many-slots?( object -- ? )
tuple-class?( object -- ? )


Files


Metadata files


Children from resource:core
VocabularySummary
classes.tuple.parserUtilities for tuple-defining parsing words


Children from resource:extra
VocabularySummary
classes.tuple.change-trackingTuple classes that keep track of when they've been modified