ansi-wl-pprint 0.6.8.2 → 0.6.9
raw patch · 3 files changed
+21/−8 lines, 3 filesdep ~ansi-terminaldep ~basedep ~semigroupsPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: ansi-terminal, base, semigroups
API changes (from Hackage documentation)
- Text.PrettyPrint.ANSI.Leijen.Internal: instance Data.Semigroup.Semigroup Text.PrettyPrint.ANSI.Leijen.Internal.Doc
- Text.PrettyPrint.ANSI.Leijen.Internal: instance Text.PrettyPrint.ANSI.Leijen.Internal.Pretty a => Text.PrettyPrint.ANSI.Leijen.Internal.Pretty (GHC.Base.Maybe a)
+ Text.PrettyPrint.ANSI.Leijen.Internal: instance GHC.Base.Semigroup Text.PrettyPrint.ANSI.Leijen.Internal.Doc
+ Text.PrettyPrint.ANSI.Leijen.Internal: instance Text.PrettyPrint.ANSI.Leijen.Internal.Pretty a => Text.PrettyPrint.ANSI.Leijen.Internal.Pretty (GHC.Maybe.Maybe a)
- Text.PrettyPrint.ANSI.Leijen: (<>) :: Monoid m => m -> m -> m
+ Text.PrettyPrint.ANSI.Leijen: (<>) :: Semigroup a => a -> a -> a
- Text.PrettyPrint.ANSI.Leijen.Internal: RestoreFormat :: (Maybe (ColorIntensity, Color)) -> (Maybe (ColorIntensity, Color)) -> (Maybe ConsoleIntensity) -> (Maybe Bool) -> (Maybe Underlining) -> Doc
+ Text.PrettyPrint.ANSI.Leijen.Internal: RestoreFormat :: Maybe (ColorIntensity, Color) -> Maybe (ColorIntensity, Color) -> Maybe ConsoleIntensity -> Maybe Bool -> Maybe Underlining -> Doc
Files
- Changelog.md +5/−0
- Text/PrettyPrint/ANSI/Leijen.hs +0/−1
- ansi-wl-pprint.cabal +16/−7
Changelog.md view
@@ -1,3 +1,8 @@+## 0.6.9++- All modules are explicitly `Safe`.+- Support GHC-7.0 ... GHC-8.8+ ## 0.6.8.2 - Allow `ansi-terminal-0.8`
Text/PrettyPrint/ANSI/Leijen.hs view
@@ -166,7 +166,6 @@ import Data.Monoid (Monoid, mappend, mconcat, mempty, (<>)) #else import Data.Monoid (Monoid, mappend, mconcat, mempty)-infixr 6 <> #endif -- $DocumentAlgebra
ansi-wl-pprint.cabal view
@@ -1,11 +1,12 @@ name: ansi-wl-pprint-version: 0.6.8.2+version: 0.6.9 cabal-version: >= 1.10 category: User Interfaces, Text synopsis: The Wadler/Leijen Pretty Printer for colored ANSI terminal output description: { -This is a pretty printing library based on Wadler's paper ["A Prettier Printer"](https://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf). It has been enhanced with support for ANSI terminal colored output using the [ansi-terminal](https://hackage.haskell.org/package/ansi-terminal) package.+This is a pretty printing library based on Wadler's paper ["A Prettier Printer"](https://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf).+It has been enhanced with support for ANSI terminal colored output using the [ansi-terminal](https://hackage.haskell.org/package/ansi-terminal) package. } license: BSD3@@ -16,7 +17,7 @@ bug-reports: http://github.com/ekmett/ansi-wl-pprint/issues homepage: http://github.com/ekmett/ansi-wl-pprint build-type: Simple-tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1, GHC==8.4.1, GHC==8.5.*+tested-with: GHC==7.0.2, GHC==7.2.2, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.5, GHC==8.8.1 source-repository head type: git@@ -36,13 +37,21 @@ -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 if impl(ghc >= 8.0)- ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances+ ghc-options: -Wcompat -Wnoncanonical-monad-instances+ if impl(ghc < 8.8)+ ghc-options: -Wnoncanonical-monadfail-instances else -- see also notes in Text.PrettyPrint.ANSI.Leijen- build-depends: semigroups >= 0.1 && < 0.19+ build-depends: semigroups >= 0.18.5 && < 0.20 - build-depends: ansi-terminal >= 0.4.0 && < 0.9- build-depends: base >= 4.5 && < 5+ build-depends: ansi-terminal >= 0.9.1 && < 0.10+ build-depends: base >= 4.3 && < 5++ if impl(ghc >= 7.4)+ default-extensions: Safe+ else+ if impl(ghc >= 7.2)+ default-extensions: Trustworthy executable ansi-wl-pprint-example default-language: Haskell2010