[Haskell-cafe] Ord methods too strict?

Sven Panne svenpanne at gmail.com
Fri Jan 4 16:37:46 UTC 2019


Am Fr., 4. Jan. 2019 um 16:55 Uhr schrieb V.Liepelt <V.Liepelt at kent.ac.uk>:

> Hi Sven,
>
> […] section 11.1 [of the Haskell 2010 Report] explicitly states that all
> derived operations for Eq and Ord are strict in both arguments.
>
>
> Good idea to look at the Report. Unfortunately it doesn’t give any
> reasoning as to *why* this choice was made.
>

As I said: Consistency. (Well, I didn't write the report, but this seems to
be the most obvious reason.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20190104/e86de36b/attachment.html>


More information about the Haskell-Cafe mailing list