The TYB package

[Tags:bsd3, library]

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:

[Skip to Readme]


Versions 0.2.0, 0.2.1, 0.2.2, 0.2.3
Dependencies array (>=0.3), base (==4.*), containers (>=0.4), mtl (>=2.0), template-haskell (>=2.8), transformers (>=0.2) [details]
License BSD3
Author Michael D. Adams, Thomas M. DuBuisson
Maintainer Thomas M. DuBuisson <>
Stability Unknown
Category Generics
Uploaded Mon Feb 18 23:56:49 UTC 2013 by ThomasDuBuisson
Distributions NixOS:0.2.3
Downloads 1114 total (10 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for TYB

Readme for TYB-0.2.3

This is the Template Your Boilerplate (TYB) library.

The "Template Your Boilerplate" paper documents the design of this library and is available at:

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.