pointfree haskell code example
Example: point free style haskell
--Pointfree Style
--It is very common for functional programmers to write functions as a composition of other functions,
never mentioning the actual arguments they will be applied to. For example, compare:
sum = foldr (+) 0
--Not pointfree style
sum' xs = foldr (+) 0 xs