
30 Dec
2011
30 Dec
'11
6:50 a.m.
2011/12/30 Stanisław Findeisen
What is the difference between, e.g., Bounded Bool and Enum Bool?
There is only one Bool type; it is an instance of multiple typeclasses. So, for example, it is a Bounded (meaning that there are "minBound" and "maxBound" values associated with it) and an Enum (meaning that there are "predecessor" and "successor" functions associated with it). Look at the definitions of the indicated classes to see what they mean. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms