TYB: Template Your Boilerplate - a Template Haskell version of SYB

[ bsd3, generics, library ] [ Propose Tags ]

TYB is a generic-programming system that uses Template Haskell to generate boiler-plate traversals at compile time. This results in significantly improved performance. The paper documenting it is available at: http://cs.pdx.edu/~adamsmic/projects/tyb/TYB.pdf

[Skip to Readme]
Versions [faq] 0.2.0, 0.2.1, 0.2.2, 0.2.3
Dependencies array (>=0.3 && <0.5), base (==4.*), containers (==0.4.*), mtl (==2.0.*), template-haskell (>=2.5 && <2.8), transformers (==0.2.*) [details]
License BSD-3-Clause
Author Michael D. Adams, Thomas M. DuBuisson
Maintainer Thomas M. DuBuisson <thomas.dubuisson@gmail.com>
Category Generics
Uploaded by MichaelAdams at 2012-06-03T07:24:59Z
Distributions NixOS:0.2.3
Downloads 3135 total (69 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for TYB-0.2.1

[back to package description]
This is the Template Your Boilerplate (TYB) library.

The "Template Your Boilerplate" paper documents the design of this library
and is available at: http://cs.pdx.edu/~adamsmic/projects/tyb/TYB.pdf

The TYB library is in the Data.Generics.TH module.

The 'examples' folder contains examples of using TYB and is a good
place to start getting familiar with TYB.  They can be built with:

$ ghc --make examples/*.hs

A couple of useful debugging helpers for Template Haskell are
included in the Debug.TH module.

We welcome feedback on both the implementation and the interface.