I'm just getting familiar with Scala Macros.
How can I do the following (or is this possible):
case class Foo(name:String)
//'keys' is some macro implementation
val fooKeys = keys[Foo] //Returns object FooKeys{ val name = "name" }
println(fooKeys.name) // "name"
I don't mind if the definition is local - so long as the type is defined and available.