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@gmail.com wrote:
On Wed, Sep 22, 2010 at 17:32, Mark H. David mhd@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@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/pro