for more information visit the package's GitHub page
Package contains the following modules:
Convenience functions for working with tuples.
Tuple2
pairTo
, double
and swap
for creating and arranging tuplesuncurry
and apply
for using functions with values in a tuplemaybeMapFirst
and maybeMapSecond
for lifting a Maybe
out of a tupleTuple3
Tuple
functions to work with 3-tuples (first
, second
, third
, mapFirst
, mapSecond
, mapThird
, mapAllThree
)join
, joinTo
, triple
, splitFirst
, splitSecond
)reverse
, rotateLeft
, rotateRight
, swapFirst
, swapLast
)uncurry
and apply
for using functions with values in a 3-tuplemaybeMapFirst
, maybeMapSecond
and maybeMapThird
for lifting a Maybe
out of a 3-tuple