[Haskell-beginners] function - argument termination problem