[Haskell] ANN: wl-pprint-1.0: Wadler/Leijen pretty printer
stefanor at cox.net
Sun Apr 15 15:19:22 EDT 2007
Announcing wl-pprint-1.0, the classic Wadler / Leijen pretty printing
combinators, now in 100% easier to use Cabalised form!
PPrint is an implementation of the pretty printing combinators
described by Philip Wadler (1997). In their bare essence, the
combinators of Wadler are not expressive enough to describe some
commonly occurring layouts. The PPrint library adds new primitives to
describe these layouts and works well in practice.
The library is based on a single way to concatenate documents, which
is associative and has both a left and right unit. This simple design
leads to an efficient and short implementation. The simplicity is
reflected in the predictable behaviour of the combinators which make
them easy to use in practice.
More information about the Haskell