Dave Herman wrote:
>> What you appear to be saying is that wrapping the call to g() inside
>> another statement indicates that it will not be tail-recursive.
>
> No, that's not what I'm saying-- that's a given and not relevant.
OK. You just stated that it's "a given and not relevant" that the factorial
lambda example I gave earlier is not tail-recursive:
lambda f(x) {
if (x == 0)
1;
else
f(x - 1);
}
That clears things up.
Waldemar
_______________________________________________
Es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss