Skip to content

Add {drop,preserve}Matched merge strategies - #1240

Merged
meooow25 merged 1 commit into
haskell:masterfrom
meooow25:drop-matched
Aug 22, 2026
Merged

Add {drop,preserve}Matched merge strategies#1240
meooow25 merged 1 commit into
haskell:masterfrom
meooow25:drop-matched

Conversation

@meooow25

Copy link
Copy Markdown
Contributor

dropMatched is added for Map, IntMap and Set. preserveMatched is added only for Set.

Note that unlike dropMissing and preserveMissing, dropMatched and preserveMatched are simply for convenience and do not offer a performance advantage over mapMaybeMatched/filterMatched.

dropMatched is added for Map, IntMap and Set. preserveMatched is added
only for Set.

Note that unlike dropMissing and preserveMissing, dropMatched
and preserveMatched are simply for convenience and do not offer a
performance advantage over mapMaybeMatched/filterMatched.
@meooow25
meooow25 merged commit 85a1ab5 into haskell:master Aug 22, 2026
19 checks passed
@meooow25
meooow25 deleted the drop-matched branch August 22, 2026 16:55
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.

1 participant