[Openmcl-devel] macroexpand-all

Ron Garret ron at flownet.com
Wed Jun 25 11:43:49 PDT 2014


On Jun 25, 2014, at 10:13 AM, Tim Bradshaw <tfb at tfeb.org> wrote:

> On 25 Jun 2014, at 16:59, Ron Garret <ron at flownet.com> wrote:
> 
>> Actually, this is possible (though not advisable IMHO).
> 
> OK, I can see that would work, I think, but presumably you can't have both things: either what you described could work, or something like this would work:
> 
> ((if *bog* #'car #'cdr) x)
> 
> but not both.

Actually, that works too (try it!)

> And I think the latter (the "fallback lisp-1") is more interesting.

Definitely.  I think ((…) …) ==> (funcall (…) …) is the only sane possibility.  But not everyone agrees.  (Ask Pascal Costanza if you want a well-informed contrary opinion.)

> I confess to be assuming this based on what you've written (ie you're redefining COMBINATION-HOOK to do the macro thing) rather than on actually having read the code, so I may be confused.
> 
> I hope I wasn't one of the objectors on CLL.

I think it was mainly Pascal C. and Kaz.  But I don’t really recall.  The archives are there for anyone who cares.

rg




More information about the Openmcl-devel mailing list