Add Ord Laws to next Haskell Report

chessai . chessai1996 at gmail.com
Wed Feb 6 20:43:06 UTC 2019


Per GHC.Classes (haddock-viewable from Data.Ord)

"The Haskell Report defines no laws for Ord. However, <= is
customarily expected to implement a non-strict partial order and have
the following properties:"

I propose that in the next report that the expected typeclass laws for
Ord be added. They're generally agreed upon/understood.


More information about the Libraries mailing list