Some useful functions on Pairs: onBoth applies a single function to both sides of a pair, merge applies a BiFunction to the left and right elements of a Pair to yield a single result, and mergeLists takes a Pair of Lists and merges them into a single List.
Some useful functions on Pairs: onBoth applies a single function to both sides of a pair, merge applies a BiFunction to the left and right elements of a Pair to yield a single result, and mergeLists takes a Pair of Lists and merges them into a single List.

unruly/control