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
That's how I would do it, though I'd use defpsmacro.
On Fri, Jan 18, 2013 at 2:21 PM, David Sargeant david@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 ,@method-calls))
David _______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel@common-lisp.net