optics-dev / optics-dev/Monocle
Recommended replacement for @Lenses
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 207
- Avg merge
- 7h 59m
- Merged PRs (30d)
- 5
Description
Am I right to assume that using Focus at all use sites instead of lenses pre-generated with the @Lenses annotation is gonna affect compilation times in the same way e.g. using circe.auto instead of circe.semiauto does? If so, what's the recommended approach here?
Should I replace @Lenses with something like val lens = GenLens[MyClass] in the MyClass companion object?
Is there a plan to support the derives clause in Monocle?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing @Lenses and Focus APIs, the GenLens approach, and current Monocle support for Scala derives. The issue does not name files or tests; done would require a decided recommendation for replacing @Lenses and a clear answer about derives support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100