Am Donnerstag, 31. Mai 2007 05:52 schrieb PR Stanley: > What is the basic philosophy for Bool being a member of Ord? you can do sth like
Data.Set.fromList [minBound .. maxBound] :: Data.Set.Set Bool > What justifies False < True? in most interpretations this equals: False == 0 True == 1 and == (*) or == max not == (1 -) a `xor` b == (a + b) `mod` 2 and not this: False == 1 True == 0 and == max or == (*) not == (1 -) a `xor` b == (a + b) `mod` 2
pgpfI9kQ1XKDb.pgp
Description: PGP signature
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
