Taking

Instance Eq a where
  _ == _ = True

Then it has all the properties you mentoined

On Jan 1, 2015 3:14 PM, "Tom Ellis" <tom-lists-haskell-cafe-2013@jaguarpaw.co.uk> wrote:
On Thu, Jan 01, 2015 at 03:12:15PM +0100, Atze van der Ploeg wrote:
> Instance Ord a where
>   _ <= _ = True
>
> Is law abiding for any type. So there is no type that cannot support a law
> abiding Ord instance.

So let me clarify that I want (<=) to be a total order in the sense that it
is

* reflexive
* symmetric
* transitive

and `(x <= y) && (y <= x)` implies that `x == y`.

Tom
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe