[Haskell-beginners] problem with type