Generalize for merge in Data.Map

Hi everyone!
I thinking about generalizing merge in Data.Map
How about https://github.com/purescript/purescript-ordered-collections/issues/10#issuecomment-810292334?
This is based on elm’s version but rewritten 3 function to one via These

2 Likes