optics-dev / optics-dev/Monocle

Recommended replacement for @Lenses

Open
#1,181 4 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.