Recently I took a look at Haskell, using LYAH.
I was messing around with type classes and wrote this quick test function:
foo :: (Num x) => x ->
It used to be that an instance of Num was also an instance of Show and Eq , but that's no longer the case.
Num
Show
Eq
You'll need to add a Show constraint as well.