Releases: quchen/prettyprinter
Releases · quchen/prettyprinter
1.3.0
1.2.1 – trim trailing space, add some Doc instances
- Add function to trim trailing space in layouted
SimpleDocStream
,removeTrailingWhitespace
- Add
Pretty
instances forIdentity
andConst
v1.2.0.1 – fix alterAnnotationsS
Fix alterAnnotationsS (and thus unAnnotateS), which removed pushing, but not popping, style frames. This led to them throwing errors in pretty much all use cases.
v1.2
-
encloseSep
does no longer include analign
wrapper; in other words,encloseSep_old … = align (encloseSep_new …)
-
Change the default ribbon fraction to 1 (was 0.4)
-
Expose
viaShow
andunsafeViaShow
from the public module -
Fix
layoutSmart
behaving as if there was no space left for unbounded pages
v1.1.1 – add more panic functions
…required by the latest prettyprinter-ansi-terminal release
ANSI terminal backend 1.1.1.1
Instead of rendering via an intermediate Text
value, stream the SimpleDocStream
to STDOUT directly.
v1.1.0.1
1.1
1.0.1
- Add
alterAnnotations
, which allows changing or removing annotations.reAnnotate
andunAnnotate
are now special cases of this. - Fix »group« potentially taking exponential time, by making the (internal)
flatten
function 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
Fix bad version number of wl-pprint compatibility module
The prerelease used the same version number as the release, making resolvers resort to the prerelease (which has SimpleDoc
instead of SimpleDocStream
), hence the build failed.