wl-pprint-text

A Wadler/Leijen Pretty Printer for Text values

Version on this page:1.1.1.0
LTS Haskell 8.20:1.1.1.0
Stackage Nightly 2017-06-28:1.1.1.0
Latest on Hackage:1.1.1.0
BSD3 licensed by Ivan Lazar Miljenovic
Maintained by Ivan.Miljenovic@gmail.com

Module documentation for 1.1.1.0

wl-pprint-text

Hackage Build Status

A clone of wl-pprint for use with the text library (with some improved handling of whitespace).

Changes

1.1.1.0 (2017-01-26)

  • Support strict Text values (thanks to Elliot Cameron).

  • Loosened constraints from Monad to Functor where applicable (thanks to Elliot Cameron).

  • Uses base-compat to make it easier to support multiple GHC versions.

  • Add isEmpty :: Doc -> Bool.

  • Support Semigroup in base >= 4.9.0.0.

1.1.0.4 (2015-04-06)

  • Support GHC-7.10.

1.1.0.3 (2014-12-24)

  • Support text-1.2.*.

1.1.0.2 (2014-01-16)

  • Support text-1.1.0.0.

1.1.0.1 (2013-12-23)

This probably should have been 1.1.1.0.

  • Documentation fixes.

  • Add displayB, spacebreak and <++>.

  • Smarter treatment of spaces, newlines, etc. (including how line behaves in renderOneLine).

1.1.0.0 (2012-08-22)

  • Doc is now an instance of Monoid.

  • Add renderOneLine function.

  • Add IsString instances.

  • Make SimpleDoc an instance of Show for convenience.

  • Make the Show instance for Doc match the documentation.

1.0.0.0 (2012-05-22)

  • Initial version,
comments powered byDisqus