vendredi 18 mars 2016

Scala quasiquote macro show expression

I have this debug trace library in Scala... http://ift.tt/1YSsWqY

^ I want to make it so that I can use macros to show expressions in the code, like this: http://ift.tt/1PhHqJJ

Print.debug(x + y)
> x + y = 2

p.s. If could get a little example or a code snippet that would be wonderful.





Aucun commentaire:

Enregistrer un commentaire