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]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.2.0, 0.2.1, 0.2.2, 0.2.3
Dependencies array (>=0.3), base (>=4 && <5), containers (>=0.4), mtl (>=2.0), template-haskell (>=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 ThomasDuBuisson at 2013-02-18T23:56:49Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3654 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for TYB-0.2.3

[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.