-
Change the implementation to the
prettyprinter
package, using theprettyprinter-compat-ansi-wl-pprint
compatibility package.Migrate to
prettyprinter
.Note: Using
show
won't preserve formatting anymore, asprettyprinter
sShow Doc
instance is annotation invariant. You can convert toString
usingData.Text.Lazy.unpack . Prettyprinter.Render.Terminal.renderLazy . Prettyprinter.layoutPretty Prettyprinter.defaultLayoutOptions
, from thetext
,prettyprinter-ansi-terminal
,prettyprinter
packages respectively. -
The
Text.PrettyPrint.ANSI.Leijen.Internal
module is gone.
- All modules are explicitly
Safe
. - Support GHC-7.0 ... GHC-8.8