[Haskell] ANNOUNCE: regular-0.2 and regular-extras-0.1

José Pedro Magalhães jpm at cs.uu.nl
Wed Oct 28 04:10:28 EDT 2009


Hello all,

I'm pleased to announce a new version of the regular library which provides
generic programming with fixed points for regular datatypes.

Many generic programs require information about the recursive positions of a
datatype. Examples include the generic fold, generic rewriting, and the
Zipper data structure. This approach provides a fixed point view on data
which allows these definitions for regular datatypes. It can be seen as a
simplification of the Multirec library, which provides similar functionality
but for families of (possibly mutually recursive) datatypes.

This library is the underlying generic representation mechanism in the
paper:
  Thomas van Noort, Alexey Rodriguez, Stefan Holdermans, Johan Jeuring,
Bastiaan Heeren. A Lightweight Approach to Datatype-Generic Rewriting. In
Ralf Hinze and Don Syme, editors, Proceedings of the ACM SIGPLAN Workshop on
Generic Programming, WGP 2008, Victoria, BC, Canada, September 20, 2008,
pages 13–24. ACM Press, 2008.
http://people.cs.uu.nl/stefan/pubs/noort08lightweight.html

More information is available on the webpage:
http://www.cs.uu.nl/wiki/GenericProgramming/Regular

Additionally, we have also released a regular-extras package which provides
more generic functions operating on the fixed point view provided by
regular. Currently the functions provided are:
  * QuickCheck's arbitrary, with an option to provide size, and frequencies
for each constructor;
  * QuickCheck's coarbitrary;
  * Data.Binary get and put.


Features
--------

* A simple library with a fixed point view

* Includes detailed examples, such as the generic fold

* Forms the basis for a generic rewriting library:
http://hackage.haskell.org/package/rewriting

* In its current form, this library does not support nested datatypes.
Support to access parameters of a datatype is limited.

Requirements
------------

* GHC 6.10.1 or later
* Cabal 1.2.1 or later

Download
--------

With cabal-install:

  cabal install regular
  cabal install regular-extras

Get the packages:

  http://hackage.haskell.org/package/regular
  http://hackage.haskell.org/package/regular-extras

Get the source:

  svn checkout
https://subversion.cs.uu.nl/repos/project.dgp-haskell.libraries/regular/
  svn checkout
https://subversion.cs.uu.nl/repos/project.dgp-haskell.libraries/regular-extras/

Bugs & Support
--------------

Report issues, request features, or just discuss the library with the
authors, maintainers, and other interested persons at:

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


Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell/attachments/20091028/e1f0a33e/attachment.html


More information about the Haskell mailing list