Add unionsWith to combine a list of hash maps#118
Add unionsWith to combine a list of hash maps#118ppetr wants to merge 2 commits intohaskell-unordered-containers:masterfrom
Conversation
|
Uh, sorry for the late review… 😄 Probably a dumb question, by why doesn't this need both strict and lazy variants? |
To answer my question: It quite certainly does! We also have lazy and strict variants of Before any further work on the code is done here, we need to make a decision on the correct type for this function though: See #240 (comment). |
|
I continue to wonder if this function meets the Fairbairn threshold. It's an entirely immediate application of |
One argument for providing the function is that we could include proper documentation on the order in which the values are combined. |
|
That's a problem for |
|
Sorry, I meant to say that |
Just a comment from a random passerby, I'd much prefer to have By not including the two functions you would leave it up to everyone to figure out whether |
…'maps', not 'sets'. Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
No description provided.