Skip to content

Add upsert for Map and IntMap #1145

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

Merged
merged 2 commits into from
Jun 15, 2025
Merged

Add upsert for Map and IntMap #1145

merged 2 commits into from
Jun 15, 2025

Conversation

meooow25
Copy link
Contributor

@meooow25 meooow25 commented Jun 7, 2025

This is the missing member of the group of functions for modifying a single entry.

  • adjust takes (a -> a)
  • update takes (a -> Maybe a)
  • upsert takes (Maybe a -> a)
  • alter takes (Maybe a -> Maybe a)

Closes #809.

meooow25 added 2 commits June 7, 2025 23:15
This is the missing member of the group of functions for modifying a
single entry.

* adjust takes (a -> a)
* update takes (a -> Maybe a)
* upsert takes (Maybe a -> a)
* alter takes (Maybe a -> Maybe a)
@meooow25 meooow25 merged commit 316cde6 into haskell:master Jun 15, 2025
14 checks passed
@meooow25 meooow25 deleted the upsert branch June 15, 2025 05:38
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.

Add upsert
1 participant