pairs vocabulary
Factor handbook > Vocabulary index


Summary
Assoc implementation optimized for a single key/value pair

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
cannot-delete-key tuplepair
pair tuplevalue key hash


Ordinary words
WordStack effect
<pair>( value key -- assoc )
cannot-delete-key( pair -- * )
if-hash( pair true-quot false-quot -- )
if-key( key pair true-quot false-quot -- )


Class predicate words
WordStack effect
cannot-delete-key?( object -- ? )
pair?( object -- ? )


Files