doclayout 0.5 → 0.5.0.1
raw patch · 3 files changed
+6/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +4/−0
- doclayout.cabal +1/−1
- src/Text/DocLayout.hs +1/−0
changelog.md view
@@ -1,5 +1,9 @@ # doclayout +## 0.5.0.1++ * Have `nestle` remove leading CarriageReturn.+ ## 0.5 * Extract existing HasChars definition into a module
doclayout.cabal view
@@ -1,5 +1,5 @@ name: doclayout-version: 0.5+version: 0.5.0.1 synopsis: A prettyprinting library for laying out text documents. description: doclayout is a prettyprinting library for laying out text documents, with several features not present
src/Text/DocLayout.hs view
@@ -242,6 +242,7 @@ Concat (Concat x y) z -> nestle (Concat x (Concat y z)) Concat BlankLines{} x -> nestle x Concat NewLine x -> nestle x+ Concat CarriageReturn x -> nestle x _ -> d -- | Chomps trailing blank space off of a 'Doc'.