unionsWith package:IntervalMap

The union of a list of maps, with a combining operation: (unionsWith f == foldl (unionWith f) empty).