Re:Scala Adding Macros to the Language
by densh on Sunday July 15, 2012 @05:42AM
(#4246609)
If nothing changes until release it should look like this in Scala:
It used to look like this in earlier proposal:
Here c.reify is similar to quoting in lisp version. It really should have been something like:
It almost feels like they are making syntax more cumbersome on purpose to make inexperienced people not to use it. On the other hand they may require explicit Context to have purer API from their stand point. From end-user perspective it would be much simpler to have it in some singleton class as there most likely will never be two different contexts in a real-life macro.
[ Parent
| on HN ]
There are no comments on this comment yet.