[quiz] Re: quiz 2 without a stack?

Ivan Boldyrev boldyrev+nospam at cgitftp.uiggm.nsc.ru
Fri May 12 04:20:32 UTC 2006


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.




More information about the Quiz mailing list