# ~ filter

The`~`

filter takes one argument, a set filter
~set

where

is a set filter. The *set*`~`

filter represents the complement of the set of squares represented by its argument.

~{R attacks k}

is the set of squares on which there is not a white rook attack that attacks the black king.