[Haskell-cafe] What puts False before True?

kahl at cas.mcmaster.ca kahl at cas.mcmaster.ca
Thu May 31 00:04:32 EDT 2007


 > 
 > What is the basic philosophy for Bool being a member of Ord?
 > What justifies False < True?

The implication ordering,
which on this smallest non-trivial Boolean algebra
happens to be a linear order,
is therefore the natural candidate for Ord,
the type class of ``default linear orders''.


False ==> True


Wolfram


More information about the Haskell-Cafe mailing list