You are here: UUCS>GenericProgramming Web>Libraries>Rewriting (03 Mar 2010, JosePedroMagalhaes)EditAttach


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 tar.gz 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
Topic revision: r5 - 03 Mar 2010, JosePedroMagalhaes

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding UUCS? Send feedback