ŒQ - Distinct Sieve
Tags: miscellaneous , array
This atom is monadic, which means it takes one argument.
Replace the first occurrence of each element with
1 and all subsequent ones with
x) a list by the distinct sieve will uniquify the list. That is,
xŒQ$ is equivalent to