j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
"Andrew C. Greenberg" werdna@mucow.com wrote: Not only that -- how, exactly, is this continuation example an example of a tail recursion? Certainly, its been decades since my A-exams, but as I recall, a tail recursion is generally defined as a recursive call in a tail context.
No. TRO is a misnomer, it refers to tail CALL optimisation. The technique turns _any_ tail call into a jump, whether it is recursive or not. It's "procedure call = assignment + GOTO".
squeak-dev@lists.squeakfoundation.org