haskell style single argument function def