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


This is a generic programming library based on type classes and type families first described by Chakravarty et al. (see The current release is a simplified version mostly to support a rewriting library.


If you have cabal-install, you should use that to install the package, because it will handle everything for you:

cabal install instant-generics

If you don't have cabal-install, you must download the instant-generics 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: r1 - 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