Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Extend Lens macro to generate lenses for all accessors at once #18

Closed
julien-truffaut opened this Issue · 2 comments

1 participant

@julien-truffaut

No description provided.

@julien-truffaut

@xeno-by mentioned that macro annotation would be a good candidate

@julien-truffaut julien-truffaut referenced this issue from a commit
@dwijnand dwijnand Add the @Lenses macro annotation
Fixes #18

Please note:
* add paradise compiler plugin for 2.11+, as it's need for annotations
* unfortunately it seems like annotation users need to add the paradise
  plugin too :( see http://stackoverflow.com/q/23485426/463761
* Bumped paradise/quasiquotes to 2.0.1
* Fails with a slightly obscure message when annotating a non-case class
* Slightly verbose, especially the quasiquote unlift of classDef..
* I eliminated the boilerplate in the test, instead of adding more tests
* I'm happy to redo anything, names, split commits, tests, etc..
14d16f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.