On 2013-02-05 01:29, Timon Gehr wrote:

Well, ideally something like

ast.match{
     2*(?a)  => a+a,
     (?a)+2  => 2+a,
     (?e)    => e,
}

When I think about it, it can't look like that. What's passed to a macro needs to be syntactically valid.

--
/Jacob Carlborg

Reply via email to