Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

julien-truffaut opened this Issue · 2 comments

1 participant


No description provided.


@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
* 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..
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.