except

From The K Language Wiki
Except
x^y

The except primitive computes set difference of its two arguments.

Except is non-atomic, and only considers the elements at depth 1 for computing difference:

 (1 2;3 4)^,1 2
,3 4

in oK(K6), when left argument x is a number, it becomes equivalent to (!x)^y.

 10^1 3 7
0 2 4 5 6 8 9