hashtables vocabulary - Factor Documentation (original) (raw)

hashtables vocabulary
Factor handbook » Vocabulary index

Documentation
Hashtables

Metadata

Tags: collections
Authors: Slava Pestov

Words

Tuple classes

Class Superclass Slots
hashtable tuple count deleted array
malformed-hashtable-pair tuple seq pair

Ordinary words

Word Stack effect
( n -- hash )
>hashtable ( assoc -- hashtable )
?set-at ( value key assoc/f -- assoc )
associate ( value key -- hash )
check-hashtable ( seq -- seq )
hash-combine ( hash1 hash2 -- newhash )
malformed-hashtable-pair ( seq pair -- * )
parse-hashtable ( seq -- hashtable )
rehash ( hash -- )

Class predicate words

Word Stack effect
hashtable? ( object -- ? )
malformed-hashtable-pair? ( object -- ? )

Files

resource:core/hashtables/hashtables.factor
resource:core/hashtables/hashtables-docs.factor
resource:core/hashtables/hashtables-tests.factor

Metadata files

resource:core/hashtables/authors.txt
resource:core/hashtables/summary.txt
resource:core/hashtables/tags.txt

Children from resource:core

Vocabulary Summary
hashtables.identity Hashtables keyed by object identity (eq?) rather than by logical value (=)
hashtables.wrapped Wrapped hashtables for providing alternate key equivalence

Children from resource:basis

Vocabulary Summary
hashtables.identity Hashtables keyed by object identity (eq?) rather than by logical value (=)
hashtables.numbers
hashtables.sequences
hashtables.wrapped Wrapped hashtables for providing alternate key equivalence