Generalized type of mergeSources and (>=<) per issue #25.

Generalize `mergeSources` and `(>=<)` per issue #25.