Subject: Maxima with Corman CL - defsystem defsetf bug
From: Raymond Toy
Date: Fri, 01 Oct 2004 09:21:35 -0400
>>>>> "Mike" == Mike Thomas <mike.thomas@brisbane.paradigmgeo.com> writes:
Mike> Hi Ray.
Mike> | It seems that Corman CL doesn't handle setf quite right. To
Mike> | understand get-setf-expansion, get "On Lisp", which has a very nice
Mike> | explanation of it (slightly pre-ANSI CL, though). "On Lisp" is
Mike> | available free somewhere on the web. That certainly helped me a lot
Mike> | when I needed to write some setf's sometime ago.
Mike> Thanks for taking the time to reply and also for the reference. It doesn't
Mike> seem to mention "get-setf-expansion", but rather "get-setf-method" which
Mike> seems to work in a similar way - I'll look further into it.
That's why I said it was slightly pre-ANSI. Also, I think
the get-setf-method he uses doesn't support multiple values, but ANSI
get-setf-expansion does, so there's a few extra things you need to
look at. At least that's my memory of it. Using macroexpand on
various setf forms will help you too.
Ray