Atom - - Filter (Exclude)

Characters:

Tags: array

Arity: dyadic

This atom is dyadic, which means it takes two arguments.

Functionality

Keep elements in x that are not in y (remove elements in x that are in y).

Details

This also works as set difference if you don't have duplicate elements in the left argument or don't care about keeping them. If the counts of items in either argument matters, consider œ- (Multiset Difference).