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

Prev:assoc-reject ( ... assoc quot: ( ... key value -- ... ? ) -- ... subassoc )
Next:assoc-partition ( ... assoc quot: ( ... key value -- ... ? ) -- ... true-assoc false-assoc )


Vocabulary
assocs

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


Outputs
subassoca new assoc


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

See also
assoc-reject, assoc-reject!

Definition


: assoc-reject-as
( ... assoc quot: ( ... key value -- ... ? ) exemplar -- ... subassoc )
[ [ not ] compose ] [ assoc-filter-as ] bi* ; inline