
31 May
2007
31 May
'07
1:31 a.m.
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