packages feed

wl-pprint-console 0.0.1.0 → 0.0.1.1

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~console-styledep ~wl-pprint-annotatedPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: console-style, wl-pprint-annotated

API changes (from Hackage documentation)

Files

src/Text/PrettyPrint/Console/WL.hs view
@@ -120,8 +120,8 @@ -- The annotations are mapped to a '[SetStyle]' array. hDisplayStyle :: MonadIO m => Handle -> (a -> [SetStyle]) -> SimpleDoc a -> m () hDisplayStyle h f = hRunWithStyle h [] . displayDecoratedA push pop (liftIO . hPutStr h)- where push  x = hSetStyle h (Save:f x)-       pop   _ = hSetStyle h (Restore:[])+ where push  x = setStyle (Save:f x)+       pop   _ = setStyle (Restore:[])  -- | Display a rendered document with ANSI escape sequences to 'stdout'. --
wl-pprint-console.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack  name:           wl-pprint-console-version:        0.0.1.0+version:        0.0.1.1 synopsis:       Wadler/Leijen style pretty printer supporting colorful console output. description:    Wadler/Leijen style pretty printer with support for annotations and colorful console output. Additional useful display routines are provided, e.g, for HTML output. category:       Text@@ -29,8 +29,8 @@   ghc-options: -Wall   build-depends:       base                >= 4.8 && < 5-    , console-style       < 0.1-    , wl-pprint-annotated < 0.1+    , console-style       >= 0.0.1.2 && < 0.1+    , wl-pprint-annotated >= 0.0.1.2 && < 0.1     , mtl                 >= 2.2 && < 2.4     , text                >= 0.11 && < 1.3   exposed-modules: