[Haskell-beginners] Type class instance with Num