Re:Motivation – Keli Language
by qppo on Monday August 31, 2020 @01:12PM
(#24333563)
folding over a monad (or any other combinator) doesn't require extra reasoning or anything clever, that's the point.
[ Parent
| on HN ]
I think HelloNurse's point was less that a fold is inherently clever or subtle (as you say, it isn't), and more that, if there is something clever or subtle involved, the lesser verbosity of the fold makes it easier to see than would a more familiar, boilerplate-heavy approach in which the clever or subtle point could be lost.