2 ms·
Kotlin as well, through the ‘tailrec’ marker on a function.
by nhubbard 1y ago
Kotlin as well, through the ‘tailrec’ marker on a function.
- kevindamm 1y agoah, thanks, good to know.. but does that make it optional? I kind of like how ocaml requires a letrec annotation on any recursive definition and I don't know when you wouldn't want to add tailrec