PPrinter-0.0.1: PPrinter.cabal
-- Initial PPrinter.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: PPrinter
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.0.1
-- A short (one-line) description of the package.
synopsis: A generic, derivable, haskell pretty printer.
-- A longer description of the package.
description:
A library that supports deriving of pretty printing functions on data types.
.
The form of generics used is based on that introduced in the paper:
Philip Wadler, A Prettier Printer, The Fun of Programming,
Cornerstones of Computing (2003): 223-243.
<http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf original paper>
.
The implementation of API is referred to that designed in the library:
GenericPretty, the details are introduced here:
<https://hackage.haskell.org/package/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: Yi Zhen
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: s1563190@inf.ed.ac.uk
-- 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
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10
library
-- Modules exported by the library.
exposed-modules: Text.PPrinter
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
other-extensions: TypeOperators, DeriveGeneric, FlexibleInstances, FlexibleContexts, DefaultSignatures
-- Other library packages from which modules are imported.
build-depends: base >=4.8 && <4.9, containers >=0.5 && <0.6
-- Directories containing source files.
hs-source-dirs: ./
-- Base language which the package is written in.
default-language: Haskell2010