Generalized type of mergeSources and (>=<) per issue #25.
Merge pull request #26 from dmcclean/generalize-mergesources

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