The syb package

[Tags: bsd3, library]

This package contains the generics system described in the Scrap Your Boilerplate papers (see It defines the Data class of types permitting folding and unfolding of constructor applications, instances of this class for primitive types, and a variety of traversals.

[Skip to ReadMe]


Versions0.1.0.0,,,, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6,,, 0.3.7, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5, 0.5.1, 0.6
Change logNone available
Dependenciesbase (>=4.0 && <4.8) [details]
AuthorRalf Lammel, Simon Peyton Jones, Jose Pedro Magalhaes
Home page
Bug tracker
Source repositoryhead: git clone
UploadedWed Jul 4 13:03:39 UTC 2012 by JosePedroMagalhaes
UpdatedTue Dec 30 10:43:47 UTC 2014 by HerbertValerioRiedel to revision 1
DistributionsDebian:0.5.1, Fedora:0.4.1, FreeBSD:0.5.1, LTSHaskell:0.5.1, NixOS:0.6, Stackage:0.5.1
Downloads176848 total (155 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees

Readme for syb-0.3.7

syb: Scrap Your Boilerplate!

Scrap Your Boilerplate (SYB) is a library for generic programming in Haskell. It 
is supported since the GHC >= 6.0 implementation of Haskell. Using this 
approach, you can write generic functions such as traversal schemes (e.g., 
everywhere and everything), as well as generic read, generic show and generic 
equality (i.e., gread, gshow, and geq). This approach is based on just a few 
primitives for type-safe cast and processing constructor applications. 

It was originally developed by Ralf Lämmel and Simon Peyton Jones. Since then,
many people have contributed with research relating to SYB or its applications. 

More information is available on the webpage:


* Easy generic programming with combinators
* GHC can derive Data and Typeable instances for your datatypes
* Comes with many useful generic functions


* GHC 6.10.1 or later
* Cabal 1.6 or later

Bugs & Support

Please report issues or request features at the bug tracker:

For discussion about the library with the authors, maintainers, and other
interested persons use the mailing list: