What is the Eq class
Equality class provides (==) and (/=) methods. All basic data types except functions and IO are instances of this class.
What is the Ord class
Equality class provides (<=) and () and (>=) methods. All basic data types except functions and IO are instances of this class.
What is the Show class
Show class provides the method show :: a -> String
Can be applied by putting 'show tree' for instance. (as long as the tree class derives show) All basic data types except functions and IO are instances of this class.
What is the Read class
Read class provides the method Read :: String -> a
Can be applied by putting 'show(read string :: Tree Int)' for instance. (as long as the class that the string is derives show and read). All basic data types except functions and IO are instances of this class.