Question : point free style haskell
Answered by : elegant-eel-sqx82en8ndi6
--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
Source : https://wiki.haskell.org/Pointfree | Last Update : Fri, 05 Jun 20