assoc-reject ( ... assoc quot: ( ... key value -- ... ? ) -- ... subassoc )
Factor handbook » The language » Collections » Associative mapping operations » Associative mapping combinators

Prev:assoc-filter-as ( ... assoc quot: ( ... key value -- ... ? ) exemplar -- ... subassoc )
Next:assoc-reject-as ( ... assoc quot: ( ... key value -- ... ? ) exemplar -- ... subassoc )


Vocabulary
assocs

Inputs
assocan assoc
quota quotation with stack effect ( ... key value -- ... ? )


Outputs
subassoca new assoc


Word description
Outputs an assoc of the same type as assoc consisting of all entries for which the predicate quotation yields false.

See also
assoc-reject-as, assoc-reject!

Definition


: assoc-reject
( ... assoc quot: ( ... key value -- ... ? ) -- ... subassoc )
over assoc-reject-as ; inline