Skip to content
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

[Focus] Non-case class setters in? #1035

Open
julien-truffaut opened this issue Feb 8, 2021 · 0 comments
Open

[Focus] Non-case class setters in? #1035

julien-truffaut opened this issue Feb 8, 2021 · 0 comments
Labels
After 3.0 Wait for user feedback from the 3.0 release

Comments

@julien-truffaut
Copy link
Member

Dual to #1034, conceivably someone, wishing to have write-only semantics on their immutable data model, might implement their own copy method. I can't even think of a use case for a Setter optic to be honest, I'm sure this is extremely low priority, and I can't imagine user demand leading us here.

There's a little voice in my head complaining that Setter is the only optic inaccessible to the Focus macro, but I'm not at all sure it deserves to be listened to.

@julien-truffaut julien-truffaut added the 3.x Next major version label Feb 8, 2021
@kenbot kenbot added After 3.0 Wait for user feedback from the 3.0 release and removed 3.x Next major version labels Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
After 3.0 Wait for user feedback from the 3.0 release
Projects
None yet
Development

No branches or pull requests

2 participants