packages feed

wl-pprint-annotated 0.1.0.2 → 0.1.0.3

raw patch · 2 files changed

+64/−63 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

src/Text/PrettyPrint/Annotated/WL.hs view
@@ -135,7 +135,7 @@ import Data.Functor.Identity import qualified Data.Text as T import qualified Data.Text.Lazy as TL-import qualified Data.Text.Lazy.Builder as TL+import qualified Data.Text.Lazy.Builder as TLB import Data.List.NonEmpty (NonEmpty) import Numeric.Natural (Natural) import Control.Applicative@@ -342,6 +342,7 @@   (<>) = Cat  instance Monoid (Doc a) where+  mappend = Cat   mempty = Empty   mconcat = hcat @@ -1126,7 +1127,7 @@ -- rendering function and outputs a 'Text'. Along the way, all annotations are -- discarded. displayT :: SimpleDoc a -> TL.Text-displayT = TL.toLazyText . displayDecorated cm cm TL.fromString+displayT = TLB.toLazyText . displayDecorated cm cm TLB.fromString  where cm = const mempty  -- | The type alias @SpanList@ is used by @displaySpan@
wl-pprint-annotated.cabal view
@@ -1,61 +1,61 @@--- This file has been generated from package.yaml by hpack version 0.28.2.
---
--- see: https://github.com/sol/hpack
---
--- hash: 456188a057c4e34f6769dab99fc89329114f7149df4168c3485402e7a66bb298
-
-name:          wl-pprint-annotated
-category:      Text
-version:       0.1.0.2
-synopsis:      Pretty printer with annotation support
-cabal-version: >= 1.10
-license:       BSD3
-license-file:  LICENSE
-tested-with:   GHC == 8.10.7, GHC == 9.12.4
-author:        Daniel Mendler <mail@daniel-mendler.de>
-maintainer:    Daniel Mendler <mail@daniel-mendler.de>
-stability:     experimental
-homepage:      https://github.com/minad/wl-pprint-annotated#readme
-bug-reports:   https://github.com/minad/wl-pprint-annotated/issues
-copyright:     2011-2012 Edward A. Kmett, 2000 Daan Leijen
-description:   Wadler/Leijen pretty printer with support for annotations and modernized API. Annotations are useful for coloring. See wl-pprint-console.
-build-type:    Simple
-
-source-repository head
-  type: git
-  location: https://github.com/minad/wl-pprint-annotated
-
-library
-  hs-source-dirs:
-    src
-  default-extensions: FlexibleInstances TypeSynonymInstances DeriveFunctor DeriveFoldable DeriveTraversable DeriveGeneric DefaultSignatures
-  ghc-options: -Wall
-  build-depends:
-    base >=4.11 && <5,
-    containers >=0.4 && <0.9,
-    deepseq >=1.4 && <1.6,
-    text >=0.11 && <2.2
-  exposed-modules:
-    Text.PrettyPrint.Annotated.WL
-  other-modules:
-    Paths_wl_pprint_annotated
-  default-language: Haskell2010
-
-test-suite wl-pprint
-  type: exitcode-stdio-1.0
-  main-is: WLPPrintTests.hs
-  other-modules:
-    Paths_wl_pprint_annotated
-  hs-source-dirs:
-    test
-  default-extensions: FlexibleInstances TypeSynonymInstances DeriveFunctor DeriveFoldable DeriveTraversable DeriveGeneric DefaultSignatures
-  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
-  build-depends:
-    base >=4.11 && <5,
-    containers >=0.4 && <0.9,
-    deepseq >=1.4 && <1.6,
-    tasty,
-    tasty-hunit,
-    text >=0.11 && <2.2,
-    wl-pprint-annotated
-  default-language: Haskell2010
+-- This file has been generated from package.yaml by hpack version 0.28.2.+--+-- see: https://github.com/sol/hpack+--+-- hash: 456188a057c4e34f6769dab99fc89329114f7149df4168c3485402e7a66bb298++name:          wl-pprint-annotated+category:      Text+version:       0.1.0.3+synopsis:      Pretty printer with annotation support+cabal-version: >= 1.10+license:       BSD3+license-file:  LICENSE+tested-with:   GHC == 8.10.7, GHC == 9.12.4+author:        Daniel Mendler <mail@daniel-mendler.de>+maintainer:    Daniel Mendler <mail@daniel-mendler.de>+stability:     experimental+homepage:      https://github.com/minad/wl-pprint-annotated#readme+bug-reports:   https://github.com/minad/wl-pprint-annotated/issues+copyright:     2011-2012 Edward A. Kmett, 2000 Daan Leijen+description:   Wadler/Leijen pretty printer with support for annotations and modernized API. Annotations are useful for coloring. See wl-pprint-console.+build-type:    Simple++source-repository head+  type: git+  location: https://github.com/minad/wl-pprint-annotated++library+  hs-source-dirs:+    src+  default-extensions: FlexibleInstances TypeSynonymInstances DeriveFunctor DeriveFoldable DeriveTraversable DeriveGeneric DefaultSignatures+  ghc-options: -Wall+  build-depends:+    base >=4.11 && <5,+    containers >=0.4 && <0.9,+    deepseq >=1.4 && <1.6,+    text >=0.11 && <2.2+  exposed-modules:+    Text.PrettyPrint.Annotated.WL+  other-modules:+    Paths_wl_pprint_annotated+  default-language: Haskell2010++test-suite wl-pprint+  type: exitcode-stdio-1.0+  main-is: WLPPrintTests.hs+  other-modules:+    Paths_wl_pprint_annotated+  hs-source-dirs:+    test+  default-extensions: FlexibleInstances TypeSynonymInstances DeriveFunctor DeriveFoldable DeriveTraversable DeriveGeneric DefaultSignatures+  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N+  build-depends:+    base >=4.11 && <5,+    containers >=0.4 && <0.9,+    deepseq >=1.4 && <1.6,+    tasty,+    tasty-hunit,+    text >=0.11 && <2.2,+    wl-pprint-annotated+  default-language: Haskell2010