2 ms·
Kotlin has explicit tail-calls via tailrec: https://kotlinlang.org/docs/functions.html#tail-recursive-functions https://kotlinlang.org/docs/functions.html#tail
by e12e 5y ago
Kotlin has explicit tail-calls via tailrec:
https://kotlinlang.org/docs/functions.html#tail-recursive-functions https://kotlinlang.org/docs/functions.html#tail-recursive-fu...
- tines 5y agoLooks like the equivalent of Clojure's `recur`. Unfortunately doesn't work for mutually recursive routines.