[Haskell-beginners] why does the superclass not work?