-- this is an uncurried function, which is a style less preferred by haskell programmers

curriedAdd :: Num a => a -> a -> a
curriedAdd = \x -> \y -> x + y
curriedAdd :: Num a => a -> a -> a
curriedAdd = \x -> \y -> x + y
curriedAdd = \x -> \y -> x + y