
Fellow generic programmers, I finally managed to prepare a new release of SYB. Since this is a widely used library I decided to share a "preview" version here before putting it up on Hackage. There is nothing major in this version: basically, the testsuite was reintegrated and I added some basic generic producers. Please let me know if something goes wrong with this new version: http://code.haskell.org/syb/syb-0.2-rc1.tar.gz The draft announcement follows: syb: Scrap Your Boilerplate!
================================================================================
Scrap Your Boilerplate (SYB) is a library for generic programming in Haskell. It is supported in 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: http://www.cs.uu.nl/wiki/GenericProgramming/SYB
What's new ----------
The biggest improvements from version 0.1 are: * The reintegration of the testsuite; * The introduction of two new generic producers ('empty' and 'constrs'). The former produces an empty value of a given datatype, while the latter produces a list of values of a datatype, each using a different constructor.
Features --------
* Easy generic programming with combinators
* GHC can derive Data and Typeable instances for your datatypes
* Comes with many useful generic functions
Requirements ------------
* GHC 6.10.1 or later * Cabal 1.2.1 or later
Download --------
With cabal-install:
cabal install syb
Get the package:
http://hackage.haskell.org/package/syb
Get the source:
darcs get http://code.haskell.org/syb/
Bugs & Support --------------
Please report issues or request features at the bug tracker:
http://code.google.com/p/scrapyourboilerplate/issues/list
For discussion about the library with the authors, maintainers, and other interested persons use the mailing list:
Thanks, Pedro

Hi Pedro,
syb: Scrap Your Boilerplate!
================================================================================
It is supported in the GHC >= 6.0 implementation of Haskell.
Requirements
------------
* GHC 6.10.1 or later
These two statements seem a bit contradictory. Perhaps for the first one, you can say that "it has been around since GHC 6.0" if that is true. Or you could eliminate the first statement altogether. Regards, Sean

2010/4/7 José Pedro Magalhães
I finally managed to prepare a new release of SYB. Since this is a widely used library I decided to share a "preview" version here before putting it up on Hackage. There is nothing major in this version: basically, the testsuite was reintegrated and I added some basic generic producers. Please let me know if something goes wrong with this new version: http://code.haskell.org/syb/syb-0.2-rc1.tar.gz
I have now rebuilt all of our software using this new package, with only a couple of minor changes to avoid conflicts with the new "empty" symbol.
participants (3)
-
David Fox
-
José Pedro Magalhães
-
Sean Leather