Handbook
Glossary
>hash-set ( members -- hash-set )
Factor handbook
»
The language
»
Collections
»
Sets
»
Set implementations
»
Hash sets
Prev:
<hash-set> ( capacity -- hash-set )
Vocabulary
hash-sets
Inputs
members
a
sequence
Outputs
hash-set
a
hash-set
Word description
Creates a new hash set with the given members.
Definition
USING:
hash-sets.private
kernel
sequences
;
IN:
hash-sets
:
>hash-set
( members -- hash-set )
dup
length
<hash-set>
[
(rehash)
]
keep
;
inline