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

Also support "updater" ("modifier")? #12

Open
ymtszw opened this issue Aug 19, 2022 · 0 comments
Open

Also support "updater" ("modifier")? #12

ymtszw opened this issue Aug 19, 2022 · 0 comments

Comments

@ymtszw
Copy link
Owner

ymtszw commented Aug 19, 2022

The title says all.

In README I wrote:

  • It does not provide "updaters" in the sense of (a -> a) -> { b | name : a } -> { b | name : a }
    • It might prove useful, though my current intuition says it sees less usages than setters.

But if the need arises often enough, I'm OK to include the feature. Do please rate this issue up to show the need!

  • It should be opt-in. To keep the code-generation behavior backward-compatible.
  • Opt-in should be done via command-line argument. Like --updater
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant