Difference between revisions of "Libraries and tools/Pretty printing"

From HaskellWiki
Jump to navigation Jump to search
Line 3: Line 3:
   
 
== Pretty-printer Libraries ==
 
== Pretty-printer Libraries ==
  +
  +
;[http://www.haskell.org/ghc/docs/latest/html/libraries/base/Text-PrettyPrint.html Text.PrettyPrint]
  +
: Pretty-printing module included in the standard libraries.
   
 
;[http://research.microsoft.com/~simonpj/downloads/pretty-printer/pretty.html Pretty printer library]
 
;[http://research.microsoft.com/~simonpj/downloads/pretty-printer/pretty.html Pretty printer library]
Line 9: Line 12:
 
;[http://www.cs.uu.nl/~daan/pprint.html PPrint]
 
;[http://www.cs.uu.nl/~daan/pprint.html PPrint]
 
:PPrint is an implementation of the pretty printing combinators described by Philip Wadler. The PPrint library adds new primitives to describe commonly occuring layouts and works well in practice.
 
:PPrint is an implementation of the pretty printing combinators described by Philip Wadler. The PPrint library adds new primitives to describe commonly occuring layouts and works well in practice.
 
=== Dead ===
 
   
 
;[http://www.cs.uu.nl/groups/ST/Software/PP/ Pretty-printing combinators] {{dead link}}
 
;[http://www.cs.uu.nl/groups/ST/Software/PP/ Pretty-printing combinators] {{dead link}}

Revision as of 19:33, 22 March 2006

The copyright status of this work is not known. Please help resolve this on the talk page.

This page contains a list of libraries and tools in a certain category. For a comprehensive list of such pages, see Applications and libraries.

Pretty-printer Libraries

Text.PrettyPrint
Pretty-printing module included in the standard libraries.
Pretty printer library
Simon Peyton Jones made an "industrial strength" pretty printing library in Haskell, based on John Hughes's paper "The Design of a Pretty-printing Library" (in Advanced Functional Programming, Johan Jeuring and Erik Meijer (eds), LNCS 925). Original version by John Hughes.
PPrint
PPrint is an implementation of the pretty printing combinators described by Philip Wadler. The PPrint library adds new primitives to describe commonly occuring layouts and works well in practice.
Pretty-printing combinators (This link is dead. Fix it or remove it.)
The combinators in the library are optimal in the sense that they produce the layout with the smallest height possible. They also allow the programmer to specify several different layouts.