pairs vocabulary
Factor handbook ยป Vocabulary index


Summary
Assoc implementation optimized for a single key/value pair

Metadata
Tags:collections
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


Metadata files