Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGELOG.md Update pretty cabal file, readme and changelog for 1.1.1.1.
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md Fix paper link.
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 TODO
Octocat-spinner-32 pretty.cabal Update pretty cabal file, readme and changelog for 1.1.1.1.
README.md

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.

Something went wrong with that request. Please try again.