[quiz] quiz 2 without a stack?

11 May
2006
11 May
'06
7:10 p.m.
I don't have a solution, but I'm curious: Is it possible to solve Quiz #2 in a purely functional way, without a temporary "stack" variable? -Stuart

12 May
12 May
4:20 a.m.
New subject: [quiz] Re: quiz 2 without a stack?
On 9472 day of my life Stuart Sierra wrote:
I don't have a solution, but I'm curious: Is it possible to solve Quiz #2 in a purely functional way, without a temporary "stack" variable? -Stuart
Use temporary "accumulator" variable :) -- Ivan Boldyrev Perl is a language where 2 x 2 is not equal to 4.
6990
Age (days ago)
6991
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ivan Boldyrev
-
Stuart Sierra