That's how I would do it, though I'd use defpsmacro.

On Fri, Jan 18, 2013 at 2:21 PM, David Sargeant <[email protected]> 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 ,@method-calls))
>
> David
> _______________________________________________
> parenscript-devel mailing list
> [email protected]
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
_______________________________________________
parenscript-devel mailing list
[email protected]
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel

Reply via email to