Handbook
Glossary
assoc-diff ( assoc1 assoc2 -- diff )
Factor handbook
»
The language
»
Collections
»
Associative mapping operations
»
Set-theoretic operations on assocs
Prev:
assoc-union ( assoc1 assoc2 -- union )
Next:
substitute ( seq assoc -- newseq )
Vocabulary
assocs
Inputs
assoc1
an
assoc
assoc2
an
assoc
Outputs
diff
a new assoc
Word description
Outputs an assoc consisting of all entries from
assoc1
whose key is not contained in
assoc2
.
Definition
IN:
assocs
:
assoc-diff
( assoc1 assoc2 -- diff )
assoc-differ
assoc-filter
;