Add 'intersectionWith', 'mergeWith' combinators - #163
Conversation
|
Hm, I'm not sold on the |
|
I've updated this PR to remove |
|
Any thoughts on this @HeinrichApfelmus? |
|
Looks good! Can you add an entry to the changelog and your name to the contributors list (if not already there)? I'll merge if you notify me after that. |
|
Sure! Can I make one last appeal to shorten the names to My reasoning is:
To avoid a major version bump (if that's a concern) I'd also be totally happy with leaving Or, if you prefer the names |
|
The main reasoning behind the names was that they be consistent with the names in the Anyway, since name changes require a major version bump and many changes in dependent code, I would like to collect them in a single major release, possibly |
|
Sure, I'll move the discussion. There's also a new map-merge module that I just discovered: It provides a So, name change issue aside, one notable difference is the argument order. Perhaps |
|
I like the new order of arguments better. |
|
Forgot to mention here, I force-pushed with the updated arg order. |
|
I'm still interested in getting this merged, is there anything else I can do? |
|
If you can add a changelog entry I'm happy to merge this, as it seems to have reached consensus. |
Define 'unionWith' in terms of mergeWith
|
@ocharles Sure thing, done |
|
I'm going to merge this, there is just that one outstanding rename suggestion I made in the other thread (nix the |
In case you want it, this patch adds
intersectionWithandmergeWith(#158) (though I prefer the namesintersectionandmerge) Sorry about all the whitespace changes, my editor deletes trailing spaces on save.