-- 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.2.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 supports automatic derivation of pretty printing functions on user defined data types. . The form of generics used is based on that introduced in the paper: Magalhaes, Dijkstra, Jeuring, and Loh, A Generic Deriving Mechanism for Haskell, 3'rd ACM Symposium on Haskell, pp. 37-48, September 2010, . Changes from the original paper in the GHC implementation are described here: . . This package requires the use of the new GHC.Generics features , present from GHC 7.2. Use of these features is indicated by the DeriveGeneric pragma or the flag -XDeriveGeneric. . Pretty printing produces values of type Text.PrettyPrint.Doc, using the Text.PrettyPrint library . . The output provided is a pretty printed version of that provided by Prelude.show. That is, rendering the document provided by this pretty printer yields an output identical to that of Prelude.show, except for extra whitespace. . For information about the functions exported by the package please see the API linked further down this page. For examples of usage, both basic and more complex see the README file and the haskell source code files in the TestSuite folder, both included in the package. Finally for installation instructions also see the README file or this page: -- URL for the project homepage or repository. Homepage: https://github.com/RazvanRanca/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 TestSuite/ZigZagTest.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, pretty -- 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:RazvanRanca/GenericPretty.git