mergePairs

HC Data Structure Primitives Rearrangers mergePairs
merge toListList

mergePairs listOfTwoLists


outputs a list which contains the elements of the two lists elementwise sorted.

Example:

mergePairs [[2 4 1][3 6 5]]
[	[2 3 4 1 6 5]
]
 ;-)

Reference:

merge toListList