[Haskell-beginners] Rigid type variables match error