[Maxima] clisp stack overflow

Stavros Macrakis macrakis at alum.mit.edu
Fri Jun 15 06:06:36 CDT 2007


As the previous answers suggested, you should probably rewrite your program
as an iteration, e.g.

 group(l):=
   block([result],
     while l <> [] do
         (result: cons( [ [ l[1],l[2] ], [ l[3], l[4] ] ], result),
          l:rest(l,4) ),
     reverse(result) )$

There may be typos in the above, because I don't have Maxima available where
I am writing this email.

          -s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.math.utexas.edu/pipermail/maxima/attachments/20070615/faf18d08/attachment.htm 


More information about the Maxima mailing list