4 ms·
I never had to use it but I recall there was a 'trampoline' fn for mutual recursion
by dmichulke 10y ago
I never had to use it but I recall there was a 'trampoline' fn for mutual recursion
- smnplk 10y agoExactly. I once read a great article [1] written by Martin Trojer I think, it was about recursion in Clojure. EDIT: [1] https://martintrojer.github.io/clojure/2011/11/20/tail-calls-in-f-clojure-and-scala https://martintrojer.github.io/clojure/2011/11/20/tail-calls...