Some ignorant ramblings from someone who's played a little with macros:
All we have now are def macros, where the def must declare a return
type, and the macro must match its "shape." I don't see how the
proposed jade method could return different arities. I think this
could be a fantastic use case for type macros, which are currently
implemented in Macro Paradise:
http://docs.scala-lang.org/overviews/macros/typemacros.html. It's a
wonderful idea if and when the language supports it.
I suspect the validation and precompilation features could work in
Scala 2.10, but only if passed a string literal.
> --
> You received this message because you are subscribed to the Google Groups
> "Scalate" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
scalate+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
--
Ross A. Baker
ba...@alumni.indiana.edu
Indianapolis, IN, USA