-
-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommended replacement for @Lenses #1181
Comments
Rather than compile-times (it's fairly fast), you'll get code blow up since it generates an in-line method each call-site; YMMV as to whether you care or not. You can use the I don't understand what |
Presumably, you would be able to write
and then either do |
@Lermex I don't think it works that way. IIUC |
FYI, scala/scala3#16454 |
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 likeval lens = GenLens[MyClass]
in theMyClass
companion object?Is there a plan to support the
derives
clause in Monocle?The text was updated successfully, but these errors were encountered: