Re: [xsl] Processing based on number - alternatives to recursion?

Subject: Re: [xsl] Processing based on number - alternatives to recursion?
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Tue, 04 Mar 2008 19:24:20 +0100
David Carlisle schrieb:

[insightful, exhaustive explanation]

Thanks a lot for your answer! No further questions. (Not for the moment,
that is.)

[tail recursion]

then the intermediate results are built up in the parameter list and
so you don't need to preserve the function call stack you can just
reuse the same space at each iteration (in otherwords it's essentially
a loop).

It's interesting that you can think of a loop as of a recursive function call that doesn't have to remember where it came from because it doesn't have to go back.

Michael

Current Thread