Changelog for prettyprinter-1.2.1
1.2.1
- Add function to trim trailing space in layouted
SimpleDocStream,removeTrailingWhitespace - Add
Prettyinstances forIdentityandConst
1.2.0.1
- Fix
alterAnnotationsS(and thusunAnnotateS), which removed pushing, but not popping, style frames. This led to them throwing errors in pretty much all use cases.
1.2
-
encloseSepdoes no longer include analignwrapper; in other words,encloseSep_old … = align (encloseSep_new …) -
Change the default ribbon fraction to 1 (was 0.4)
-
Expose
viaShowandunsafeViaShowfrom the public module -
Fix
layoutSmartbehaving as if there was no space left for unbounded pages
1.1.1
- Add
panicPeekedEmptyandpanicPoppedEmptyto the panic module
1.1.0.1
- Rendering directly to a handle is now more efficient in the
Textrenderer, since no intermediateTextis generated anymore. - Remove upper version bounds from
.cabalfiles
1.1
- Allow
alterAnnotationsto convert one annotation to multiple ones, to support e.g.Keyword ---> Green+Bold - Remove
Prettyinstance forDoc: the implicit un-annotation done by it did more harm than good.
1.0.1
- Add
alterAnnotations, which allows changing or removing annotations.reAnnotateandunAnnotateare now special cases of this. - Fix »group« potentially taking exponential time, by making the (internal)
flattenfunction detect whether it is going to have any effect insidegroup. - Add proper version bounds for all dependencies and backport them to version 1
- Haddock: example for
Pretty Void
1
- Add Foldable/Traversable instances for
SimpleDocTree,SimpleDocStream - Add Functor instances for
Doc,SimpleDocTree,SimpleDocStream - Add the simplified renderers
renderSimplyDecoratedandrenderSimplyDecoratedAto the tree and stack renderer modules - Lots of typo fixes and doc tweaks
- Add a changelog :-)
0.1
Initial release.