This is a generic rewriting library described 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.
Its underlying generic programming library is Regular
If you have cabal-install
, you should use that to install the package,
because it will handle everything for you:
cabal install rewriting
If you don't have cabal-install
, you must download the rewriting package
from HackageDB and install it manually. Get the
file and decompress it.
Once downloaded, use the following commands for configuring, building, and installing the library:
runghc Setup configure
runghc Setup build
runghc Setup install
For more details on the general options available, refer to the Cabal User's Guide
The source for this library can be downloaded from the Subversion
repository as follows:
svn checkout https://subversion.cs.uu.nl/repos/project.dgp-haskell.libraries/rewriting/trunk/