> Tail calls do not have to be self recursive. Only a stack could
> maintain the necessary state...
>

Ah yes, I see that now. Duh.


> You can easily circumvent an expression being in tail position. For
> example, if EXP is in tail position and you want it not to be, just wrap
> it as:
>
>      let (r = EXP) r
>
> The program behaves the same, except for the fact that EXP is no longer
> in tail position, so it cannot perform a tail call.
>


Thanks. That would work. But I can still see the "average" user being
confused when debugging, and not knowing what is going on.

Peter
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to