On Thu, 18 Apr 2002, utdrmac wrote:
> I cannot get this one to work: (ackerman 3 4)
> I left my comp running for about 1 min before I stopped it and it still
> hadn't given me anything.
> I would appreciate some help on this.
As far as I see, your code is correct. I assume the problem is
not the program but the expected output. I remember that
Ackerman's function grows fast, so the result of (ackerman 3 4) is
probably a big number.
As big numbers cannot be handled directly by your machine, Scheme
has to emulate the calculations, which are more time expensive
than calculations within the bounds of your machine. So, I guess,
you just have to wait more than one minute to get the result...