[Haskell-beginners] Got "Non type-variable argument in the constraint" error for a simple function