I want to interesct two F# Maps, which have common keys, into a Map that has the common keys and a tuple of both values as it's value.
i.e the signature is something like:
Map<K, T1> -> Map<K, T2> -> Map<K, T1 * T2>
Any ideas of an easy functional & performant way to do it?
I know I can intersect the sets of keys and then build out a new map, I'd just like to do something that doesn't feel so dirty...