2 ms·
Yes, that does seem broken. All the state is in the arguments, so it shouldn't matter what function you "recur" to. I know this is a hack, but in Perl you can
by jrockway 17y ago
Yes, that does seem broken. All the state is in the arguments, so it shouldn't matter what function you "recur" to.
I know this is a hack, but in Perl you can "goto" a function to remove the current function from the stack and replace it with the thing you goto. This seems about the same as "recur", but more flexible.