Obtain homogeneous values from arbitrary values, transforming or culling data http://fremissant.net/shape-syb
|Latest on Hackage:||0.3.4|
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.
This package provides SYB shape support: generic mapping to homogeneous types, and related features. Complements existing Uniplate and TH shape libraries.
Given a value of arbitrary complexity (mutually recursive
heterogeneous constructor application), you can obtain
a structure-preserving representation (homomorphism) as
a homogeneous type
Homo a, parameterised by any choice type
See the project homepage for more information.