[Haskell-beginners] What is wrong with my types signatures.