Tuple functions for composite records.

Version on this page:
LTS Haskell 22.18:
Stackage Nightly 2023-12-26:
Latest on Hackage:

See all snapshots composite-tuple appears in

MIT licensed by Daniel Firth
Maintained by [email protected]
This version can be pinned in stack with:composite-tuple-,986

Module documentation for


Tuple functions for composite, inspired by relude.

It’s possible these be made to work for vinyl in general, but at the moment they are composite-specific.


Changelog for composite-tuple


  • Add pattern (:|:).


  • Add singleton.


  • Add composite tuple functions toFst, toSnd, fmapToFst, fmapToSnd, traverseToFst, traverseToSnd, fanout, fanoutM`.