[Haskell-beginners] weird constraint