Generate an iterator over the pairwise combinations of an array.
The array to combine.
A generator which iterates over the list of combinations as tuples.
Generate an iterator over the pairwise combinations of an array.