I have some code that is producing a Map where the values are Option types, and I really of course want a map containing only the real values.
Map
Option
input flatMap {case(k,ov) => ov map {v => (k, v)}}