2 ms·
> I find some code easier to express with procedural/mutable loops than recursion Do you mean like this example of calculating the 5th triangular number with a
by tome 2y ago
> I find some code easier to express with procedural/mutable loops than recursion
Do you mean like this example of calculating the 5th triangular number with a procedural loop and mutable state? Haskell supports them just fine!
https://hackage.haskell.org/package/bluefin-0.0.7.0/docs/Bluefin-Jump.html#v:jumpTo https://hackage.haskell.org/package/bluefin-0.0.7.0/docs/Blu...