
11 Sep
2013
11 Sep
'13
2:38 a.m.
David McBride
In ghci try this:> examples :: [Int] It is enough that a is mentioned in the type of every function so that the compiler can figure out which instance is required when it is used. In size you have to pass an a in to figure out what type it is, but in examples, it is enough to know that it is a list of a's.
Makes sense now. Thanks again for your help sir. Regards, Carmine