static LPair allDistinctPairs_inOrder(L l) { ret map listToPair(allSubsetsOfLength_iterator(2, l)); }