[parenscript-devel] Renaming a Macro
Daniel Gackle
danielgackle at gmail.com
Fri Jan 18 21:42:06 UTC 2013
That's how I would do it, though I'd use defpsmacro.
On Fri, Jan 18, 2013 at 2:21 PM, David Sargeant <david at dsargeant.com> wrote:
> What is the best way to rename a macro in ParenScript? For example, if I
> wanted to use '->' instead of 'chain.' Right now I am just using a macro,
> but I'm wondering if there is an easier way. Thanks.
>
> (defmacro -> (&rest method-calls)
> `(chain , at method-calls))
>
> David
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20130118/9efeb795/attachment.html>
More information about the parenscript-devel
mailing list