doclayout 0.3 → 0.3.0.1
raw patch · 3 files changed
+9/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +7/−0
- doclayout.cabal +1/−1
- src/Text/DocLayout.hs +1/−0
changelog.md view
@@ -1,5 +1,12 @@ # doclayout +## 0.3.0.1++ * NOINLINE `fromString` (#1).+ @sjakobi reports that this change reduced total allocations+ for building pandoc-2.12 with GHC 8.10.4 by 8.5% and reduced+ peak allocations are reduced from 3854MB to 3389MB.+ ## 0.3 * Add foldlChar to signature of HasChars [API change].
doclayout.cabal view
@@ -1,5 +1,5 @@ name: doclayout-version: 0.3+version: 0.3.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
@@ -165,6 +165,7 @@ instance HasChars a => IsString (Doc a) where fromString = text+ {-# NOINLINE fromString #-} -- | Unfold a 'Doc' into a flat list. unfoldD :: Doc a -> [Doc a]