pretty: Pretty-printing library

[ bsd3, library, text ] [ Propose Tags ]

This package contains a pretty-printing library, a set of API's that provides a way to easily print out text in a consistent format of your choosing. This is useful for compilers and related tools.

This library was originally designed by John Hughes's and has since been heavily modified by Simon Peyton Jones.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0.0, 1.0.1.0, 1.0.1.1, 1.0.1.2, 1.1.0.0, 1.1.1.0, 1.1.1.1, 1.1.1.2, 1.1.1.3, 1.1.2.0, 1.1.2.1, 1.1.3.1, 1.1.3.2, 1.1.3.3, 1.1.3.4, 1.1.3.5, 1.1.3.6
Change log CHANGELOG.md
Dependencies base (>=3 && <4.4 || >=4.5 && <5), deepseq (>=1.1 && <1.4) [details]
License BSD-3-Clause
Author
Maintainer David Terei <code@davidterei.com>
Revised Revision 1 made by AdamBergmark at 2015-10-27T11:55:35Z
Category Text
Home page http://github.com/haskell/pretty
Bug tracker http://github.com/haskell/pretty/issues
Source repo head: git clone http://github.com/haskell/pretty.git
Uploaded by DavidTerei at 2014-08-18T19:45:31Z
Distributions Arch:1.1.3.6, Fedora:1.1.3.6
Reverse Dependencies 441 direct, 14211 indirect [details]
Downloads 40876 total (76 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 2 reports]

Readme for pretty-1.1.1.2

[back to package description]

Pretty : A Haskell Pretty-printer library

Pretty is a pretty-printing library, a set of API's that provides a way to easily print out text in a consistent format of your choosing. This is useful for compilers and related tools.

It is based on the pretty-printer outlined in the paper 'The Design of a Pretty-printing Library' by John Hughes in Advanced Functional Programming, 1995. It can be found here.

Licensing

This library is BSD-licensed.

Building

The library uses the Cabal build system, so building is simply a matter of running

cabal configure --enable-tests
cabal build

Branches

Usually two branches are maintained for Pretty development:

  • master: This branch is generally kept in a stable state and is where release are pulled and made from. The reason for this is GHC includes the pretty library and tracks the master branch by default so we don't want experimental code being pulled into GHC at times.

  • next: This branch is the general development branch.

Get involved!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://github.com/haskell/pretty.git

Authors

This library is maintained by David Terei, code@davidterei.com. It was originally designed by John Hughes's and since heavily modified by Simon Peyton Jones.