Re:When Does Point-Free Notation Make Code More Readable?
by lr4444lr on Friday September 29, 2017 @11:10AM
(#15365954)
Pointfree style uses composition (among other operators), currying, and partially applied functions, but it refers to something distinct from the sum of those concepts/features
Exactly. But in all fairness to the parent comment to yours, the original article doesn't convey this as well as you lucidly did, and his confusion is perfectly understandable.
Consider the following function of two parameters, written in Haskell/PureScript syntax:
We can now eta-reduce/partially apply f instead in the definition (which is possible because f is curried by default): If I were using pointfree style at all (which I almost never do), this is where I'd stop. However, you can go the whole hog and strip out all the arguments: I've made use of everything you listed, but it's only when you go this far that your function is truly free of "points".