[Haskell-cafe] ordNub

Yitzchak Gale gale at sefer.org
Fri Oct 18 18:47:36 UTC 2013


Niklas Hambüchen wrote:
> It would need a set in base. I wonder if it was ok to use the Data.Set
> implementation internally in base, without exposing it.

Ah yes, this is what stopped previous attempts at getting
ordNub in.

The GHC team is very keen on getting more things *out* of base.
Unless something has changed, getting them to include new things
in base, even if hidden, would be extremely difficult.
Adding additional dependencies and maintenance burdens would
add extra work for the overburdened GHC team and slow the
GHC release cycle.

How about adding a module named something like Data.List.Nub
to containers and putting ordNub in there? Or just go back to the
idea of putting it in Data.Set.

-Yitz


More information about the Haskell-Cafe mailing list