ihaskell-blaze 0.2.0.0 → 0.3.0.0
raw patch · 2 files changed
+10/−10 lines, 2 filesdep −classy-preludedep ~base
Dependencies removed: classy-prelude
Dependency ranges changed: base
Files
- IHaskell/Display/Blaze.hs +8/−7
- ihaskell-blaze.cabal +2/−3
IHaskell/Display/Blaze.hs view
@@ -1,17 +1,18 @@ {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}+ module IHaskell.Display.Blaze () where -import IHaskell.Display+import IHaskell.Display -import Text.Printf-import Text.Blaze.Html-import Text.Blaze.Renderer.Pretty-import Text.Blaze.Internal-import Control.Monad+import Text.Printf+import Text.Blaze.Html+import Text.Blaze.Renderer.Pretty+import Text.Blaze.Internal+import Control.Monad instance IHaskellDisplay (MarkupM a) where display val = return $ Display [stringDisplay, htmlDisplay]- where + where str = renderMarkup (void val) stringDisplay = plain str htmlDisplay = html str
ihaskell-blaze.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.2.0.0+version: 0.3.0.0 -- A short (one-line) description of the package. synopsis: IHaskell display instances for blaze-html types@@ -61,8 +61,7 @@ OverloadedStrings -- Other library packages from which modules are imported.- build-depends: base ==4.6.* || ==4.7.*,- classy-prelude >=0.6,+ build-depends: base >=4.6 && <4.9, blaze-html >= 0.6, blaze-markup >= 0.5, ihaskell >= 0.5