sift-keys ( assoc -- assoc' )
Factor handbook » The language » Collections » Associative mapping operations » Associative mapping combinators

Prev:assoc-all? ( ... assoc quot: ( ... key value -- ... ? ) -- ... ? )
Next:sift-values ( assoc -- assoc' )


Vocabulary
assocs

Inputs
assocan assoc


Outputs
assoc'a new assoc


Word description
Outputs an assoc removing keys that are f.

Examples
USING: prettyprint assocs hashtables ; H{ { 1 2 } { f 3 } } sift-keys .
H{ { 1 2 } }


See also
sift-values, harvest-keys, harvest-values

Definition