Hacker News new | ask | show | jobs
by jahalai 919 days ago
Since when is wrapping a while and for loop in a function considered pure functional programming?
2 comments

What are you trying to ask? That's not a claim I made.
I think what you are looking at is how the program makes use of functional idioms. And it's simple enough that a functional form isn't wildly different from imperative. But the for/fold ...max construction is higher-level than regular imperative already.

If I missed your point, please elaborate?