[Haskell-beginners] apply a function to all params of another function