Convenience functions for working with tuples.
pairTo
,double
andswap
for creating and arranging tuplesuncurry
andapply
for using functions with values in a tuplemaybeMapFirst
andmaybeMapSecond
for lifting aMaybe
out of a tuple
- Copies and extensions of all
Tuple
functions 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
) uncurry
andapply
for using functions with values in a 3-tuplemaybeMapFirst
,maybeMapSecond
andmaybeMapThird
for lifting aMaybe
out of a 3-tuple