Convenience functions for working with tuples.
pairTo,doubleandswapfor creating and arranging tuplesuncurryandapplyfor using functions with values in a tuplemaybeMapFirstandmaybeMapSecondfor lifting aMaybeout of a tuple
- Copies and extensions of all
Tuplefunctions to work with 3-tuples (first,second,third,mapFirst,mapSecond,mapThird,mapAllThree) - Functions for creating 3-tuples (
join,joinTo,triple,splitFirst,splitSecond) - Functions for rearranging values in 3-tuples (
reverse,rotateLeft,rotateRight,swapFirst,swapLast) uncurryandapplyfor using functions with values in a 3-tuplemaybeMapFirst,maybeMapSecondandmaybeMapThirdfor lifting aMaybeout of a 3-tuple