GenericPretty-1.0.1: GenericPretty.cabal
-- GenericPretty.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name: GenericPretty
-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version: 1.0.1
-- A short (one-line) description of the package.
Synopsis: A generic, derivable, haskell pretty printer.
-- A longer description of the package.
Description: GenericPretty is a haskell library that provides support for automatic
derivation of pretty printing functions on user defined data types.
The Pretty library <http://www.haskell.org/ghc/docs/7.0.4/html/libraries/ghc-7.0.4/Pretty.html>
is used underneath, the work is done over 'Pretty.Doc' types.
.
The output provided by the library functions is identical to that of Prelude.show,
except it has extra whitespace.
.
This requires the use of the new GHC.Generics features: <http://www.haskell.org/haskellwiki/Generics>.
As of 9.08.2011, these aren't present in the stable GHC releases, but
seem to be present in the GHC HEAD development snapshots >= 7.1.20110601.
.
The Generics used are based on those described in the paper "A Generic Deriving Mechanism for Haskell" :
<http://dreixel.net/research/pdf/gdmh.pdf> . The changes from the original paper on the ghc implementation
are described here: <http://www.haskell.org/haskellwiki/Generics#Changes_from_the_paper>.
.
For more info and examples of usage please see the README file included in the package
and the API at <http://haggismcmutton.github.com/GenericPretty/>
.
Installation of the package is straightforward, if needed, instructions can be found,
for instance, here: <http://www.haskell.org/haskellwiki/Cabal/How_to_install_a_Cabal_package>.
-- URL for the project homepage or repository.
Homepage: https://github.com/HaggisMcMutton/GenericPretty
-- The license under which the package is released.
License: BSD3
-- The file containing the license text.
License-file: LICENSE
-- The package author(s).
Author: Razvan Ranca
-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer: ranca.razvan@gmail.com
-- A copyright notice.
-- Copyright:
Category: Text, Generics, Pretty Printer
Build-type: Simple
-- Extra files to be distributed with the package, such as examples or
-- a README.
Extra-source-files: README TestSuite\SimpleTest.hs TestSuite\Tests.hs TestSuite\CustomTest.hs
-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >=1.6
Library
-- Modules exported by the library.
Exposed-modules: Text.PrettyPrint.GenericPretty
-- Packages needed in order to build this package.
Build-depends: base >= 3 && < 5, ghc-prim, ghc >= 7.1.20110601
-- Modules not exported by this package.
-- Other-modules:
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:
source-repository head
type: git
location: git@github.com:HaggisMcMutton/GenericPretty.git