The pretty package

[Tags: bsd3, library]

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]

Properties

Versions1.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
Change logCHANGELOG.md
Dependenciesbase (>=4.5 && <5), deepseq (>=1.1), ghc-prim [details]
LicenseBSD3
MaintainerDavid Terei <code@davidterei.com>
StabilityStable
CategoryText
Home pagehttp://github.com/haskell/pretty
Bug trackerhttp://github.com/haskell/pretty/issues
Source repositoryhead: git clone http://github.com/haskell/pretty.git
UploadedThu Mar 19 09:15:30 UTC 2015 by DavidTerei
DistributionsFedora:1.1.1.1, LTSHaskell:1.1.1.1, NixOS:1.1.3.2, Stackage:1.1.2.0
Downloads13459 total (530 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Last success reported on 2015-03-19 [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for pretty-1.1.3.2

Pretty : A Haskell Pretty-printer library

Hackage version Build Status

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 sandbox init
cabal install "QuickCheck >= 2.5 && < 3"
cabal install --only-dependencies
cabal configure --enable-tests
cabal build
cabal test

We have to install QuickCheck manually as otherwise Cabal currently throws an error due to the cyclic dependency between pretty and QuickCheck.

If cabal test freezes, then run cabal test --show-details=streaming instead. This is due to a bug in certain versions of Cabal.

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:

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.