Last active
June 29, 2016 22:47
-
-
Save leogrim/67766663c33b2ce955df1e058ef21e32 to your computer and use it in GitHub Desktop.
Scala Macro Annotation by Martin Raison
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val q"object $obj extends ..$bases { ..$body }" = compDecl | |
q""" | |
object $obj extends ..$bases { | |
..$body | |
$format | |
} | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment