syb: Scrap Your Boilerplate

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

This package contains the generics system described in the Scrap Your Boilerplate papers (see http://www.cs.uu.nl/wiki/GenericProgramming/SYB). 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]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 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.6.1, 0.3.6.2, 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, 0.7, 0.7.1, 0.7.2, 0.7.2.1, 0.7.2.2, 0.7.2.3, 0.7.2.4
Change log ChangeLog
Dependencies base (>=4.0 && <5.0) [details]
License BSD-3-Clause
Author Ralf Lammel, Simon Peyton Jones, Jose Pedro Magalhaes
Maintainer Sergey Vinokurov <serg.foo@gmail.com>
Category Generics
Home page http://www.cs.uu.nl/wiki/GenericProgramming/SYB
Bug tracker https://github.com/dreixel/syb/issues
Source repo head: git clone https://github.com/dreixel/syb
Uploaded by SergeyVinokurov at 2021-01-20T19:06:28Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for syb-0.7.2

[back to package description]

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: http://www.cs.uu.nl/wiki/GenericProgramming/SYB

Features

Requirements

Bugs & Support

Please report issues or request features at the bug tracker:

https://github.com/dreixel/syb/issues

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

http://www.haskell.org/mailman/listinfo/generics