3 ms·
I've also used it to make a function tail recursive, which is useful in languages with TCO.
by Vetch 2y ago
I've also used it to make a function tail recursive, which is useful in languages with TCO.
- codebje 2y agoIf your continuation has no state to hold your recursion should already be tail called. If it does have state, it’s probably a stack allocated closure…