[Haskell-beginners] basic data types

Stanisław Findeisen stf-list at eisenbits.com
Fri Dec 30 12:35:59 CET 2011


Hi

What are those basic data type instances? For example here:
http://www.haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:Bool
we have:

Instances

Bounded Bool
Enum Bool
Eq Bool
Data Bool
Ord Bool
Read Bool
Show Bool
Ix Bool
Typeable Bool
Generic Bool
Storable Bool

What is the difference between, e.g., Bounded Bool and Enum Bool?

-- 
This e-mail address is invalid, see:
http://people.eisenbits.com/~stf/public-email-note.html .

OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0



More information about the Beginners mailing list