classes.tuple vocabulary
Factor handbook > Vocabulary index


Documentation
Tuples

Meta-data
Authors:Slava Pestov


Words

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


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


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


Ordinary words
WordStack effect
>tuple( seq -- tuple )
all-slots( class -- slots )
bad-superclass( class -- * )
boa-effect( class -- effect )
check-tuple-class( class -- 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 -- * )
not-a-tuple( object -- * )
not-a-tuple-class( object -- * )
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 -- ? )
not-a-tuple-class?( object -- ? )
not-a-tuple?( object -- ? )
too-many-slots?( object -- ? )
tuple-class?( object -- ? )


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


Children
VocabularySummary
classes.tuple.privateclasses.tuple.private vocabulary