[Haskell-beginners] How to extend fuinctions?