Add a ``unique`` function, which removes duplicate elements from a stream
in the fashion of ``nub``.

Requested by Alexander Solla.
4 files changed