Subject: Re: 360 Assignment 1

> 
> I keep getting an error message of
> 
> (22 reductions, 57 cells)
> ERROR : Control Stack Overflow
> 
> this is for question 2, the totalSales function.
> 
> Do you have any sort of idea what I could do to fix this error?
> Like increase memory or something?

See Options:Memory.

> Or is it likely that I'm recursing infinitely?

Looks like it, yes. Try tracing and see what happens.
___________________________________________________________________________
Christian Collberg      | Email: c_collberg@cs.auckland.ac.nz
Computer Science Dept   | Fax:   +64-9-373-7453
University of Auckland  | Phone: +64-9-373-7599 x 6137
Private Bag 92019,      | WWW:   http://www.cs.auckland.ac.nz/~collberg/
Auckland, NZ            |
___________________________________________________________________________
"Education is an admirable thing, but it is well to remember from time
to time that nothing that is worth knowing can be taught." - Oscar Wilde
___________________________________________________________________________