logoalt Hacker News

someonebaggy • yesterday at 5:42 PM • 1 reply • view on HN

Folding 'fold' into contortions to use it as a generic List iterator does not "provide clarity".


Replies

strbean • yesterday at 9:35 PM

In functional programming, there is no "generic list iterator", though. It matters what the output is, whether you need to look at the value of previous iterations, etc.