tuple-ops

various operations on n-ary tuples via GHC.Generics

https://github.com/pierric/tuple-ops

Latest on Hackage:0.0.0.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Jiasen Wu
Maintained by Jiasen Wu

Some operations on n-ary tuples, including uncons, cons, etc. This package distinguish itself from other packages on tuple mainly on the the implementation under the cover. It converts Generic datatype into the its representation form, and carries out the operations on there. The other point is that this package tends to treat non-tuples directly as 1-ary, without need of OneTuple or similar intermediate wrapper.