Hi John, and thanks for your comments! On 2024-12-13 22:17 -0500, Wolfgang Corcoran-Mathe wrote: > I’m forwarding John’s message to the list. I think there was a > missing CC. > > ----- Forwarded message from John Cowan <[email protected]> ----- > > We shouldn't remove something useful just because it's not tail recursive. > Fold-right isn't tail recursive, but when you need it you need it.
The problem is that you might expect a procedure defined with ‘define-restartable’ to be capable of tail-calling itself. As Marc says, it probably should be a drop-in replacement for ‘define’. -- Wolfgang Corcoran-Mathe <[email protected]>
