[trac@galois.com: Re: [GHC] #1218: Add sortNub and sortNubBy to Data.List]

Nils Anders Danielsson nad at cs.chalmers.se
Thu Mar 22 07:10:42 EDT 2007


On Thu, 22 Mar 2007, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> wrote:

> It's interesting to note that the implementations in base for some
> functions in Data.List have been inconsistent with the report for years
> and nobody has noticed (or at least if they noticed they didn't complain
> very loudly).

I have certainly found some discrepancies in the past. If you never
reason about partial or infinite values you're not likely to stumble
over these inconsistencies, though.

If you're a GHC user worried about partial/infinite values you should
be aware that the GHC team now and then chooses a pragmatic solution
instead of an exactly correct one.

-- 
/NAD



More information about the Libraries mailing list