[Haskell-beginners] How to define ord manually.

Marcin Mrotek marcin.jan.mrotek at gmail.com
Thu Jul 30 13:38:06 UTC 2015


The first Google result:
https://hackage.haskell.org/package/base-4.8.1.0/docs/Data-Ord.html It says
right there that you need to define (at least) either "compare" or "<=",
and that there's no "ord" function.

Best regards,
Marcin Mrotek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150730/0109b4c4/attachment.html>


More information about the Beginners mailing list