[pro] substitution macro lisp extension?

Peter Seibel peter at gigamonkeys.com
Wed Sep 22 16:16:25 UTC 2010


Can someone show an example of this defsubst in use? I'm not sure I
understand what it's for.

-Peter

On Wed, Sep 22, 2010 at 9:08 AM, Hans Hübner <hans.huebner at gmail.com> wrote:

> On Wed, Sep 22, 2010 at 17:32, Mark H. David <mhd at yv.org> wrote:
> >  This is different from inlining in that does not generate a function.
>  You cannot funcall the
> > defined symbol, just use it as a macro.  Call sites always macro-expand.
>  I don't really care
> > about or want to really get into a discussion of what compilers do or
> not, or whether this
> > is "useful" or not.  Just wondering if this is some available
> functionality.  E.g., is the Allegro
> > thing contributed to the world, or just proprietary?
>
> The Allegro CL defsubst is not open source, it is not even part of the
> documented ACL API.  I am not aware of any open source
> implementations, but I'd be interested.
>
> -Hans
>
> _______________________________________________
> pro mailing list
> pro at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/pro
>



-- 
Peter Seibel
http://www.codequarterly.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20100922/1ba2bb85/attachment.html>


More information about the pro mailing list