haskell/pretty

Name: pretty

Owner: Haskell

Description: Haskell Pretty-printer library

Created: 2011-06-29 22:02:33.0

Updated: 2018-03-20 20:38:35.0

Pushed: 2018-01-29 04:11:04.0

Homepage:

Size: 5205

Language: Haskell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Pretty : A Haskell Pretty-printer library

Hackage Hackage Dependencies [BSD3 License][tl;dr Legal: BSD3] Build

[tl;dr Legal: BSD3]: https://tldrlegal.com/license/bsd-3-clause-license-(revised) “BSD3 License”

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:

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.