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

FromJSON and ToJSON instances for Sum, Product, Any, All #1106

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

AliceRixte
Copy link
Contributor

This pull request replaces the #1101 PR.

Most of Data.Monoid newtypes already had an instance. I added the following ones :

  • Product
  • Sum
  • All
  • Any

@phadej
Copy link
Collaborator

phadej commented Jun 11, 2024

Could you add tests as also as in #1101? Otherwise this looks great!

@AliceRixte
Copy link
Contributor Author

Could you add tests as also as in #1101? Otherwise this looks great!

Done :-)

@phadej phadej merged commit ae40b21 into haskell:master Jun 11, 2024
9 checks passed
@phadej
Copy link
Collaborator

phadej commented Jun 11, 2024

Thanks. Released in https://hackage.haskell.org/package/aeson-2.2.3.0

@AliceRixte
Copy link
Contributor Author

Great ! Thanks a lot for all this amazing work on Aeson !

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

Successfully merging this pull request may close these issues.

2 participants