lucid-svg 0.6.0.1 → 0.7.0.0
raw patch · 2 files changed
+8/−8 lines, 2 filesdep ~basedep ~transformersPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, transformers
API changes (from Hackage documentation)
- Lucid.Svg: Attribute :: SrictNotUnpackedText -> SrictNotUnpackedText -> Attribute
+ Lucid.Svg: Attribute :: ~Text -> ~Text -> Attribute
- Lucid.Svg: term :: Term arg result => Text -> arg -> result
+ Lucid.Svg: term :: Text -> arg -> result
- Lucid.Svg: termWith :: Term arg result => Text -> [Attribute] -> arg -> result
+ Lucid.Svg: termWith :: Text -> [Attribute] -> arg -> result
- Lucid.Svg: toHtml :: (ToHtml a, Monad m) => a -> HtmlT m ()
+ Lucid.Svg: toHtml :: Monad m => a -> HtmlT m ()
- Lucid.Svg: toHtmlRaw :: (ToHtml a, Monad m) => a -> HtmlT m ()
+ Lucid.Svg: toHtmlRaw :: Monad m => a -> HtmlT m ()
- Lucid.Svg: with :: With a => a -> [Attribute] -> a
+ Lucid.Svg: with :: a -> [Attribute] -> a
- Lucid.Svg.Elements: desc_ :: Monad m => [Attribute] -> SvgT m ()
+ Lucid.Svg.Elements: desc_ :: Term arg result => arg -> result
- Lucid.Svg.Elements: title_ :: Monad m => [Attribute] -> SvgT m ()
+ Lucid.Svg.Elements: title_ :: Term arg result => arg -> result
Files
- lucid-svg.cabal +4/−4
- src/Lucid/Svg/Elements.hs +4/−4
lucid-svg.cabal view
@@ -1,5 +1,5 @@ name: lucid-svg-version: 0.6.0.1+version: 0.7.0.0 synopsis: DSL for SVG using lucid for HTML description: Easy to write SVG in the syle of lucid. homepage: http://github.com/jeffreyrosenbluth/lucid-svg.git@@ -14,14 +14,14 @@ cabal-version: >=1.10 library- ghc-options: -Wall -rtsopts -O2+ ghc-options: -Wall exposed-modules: Lucid.Svg, Lucid.Svg.Path, Lucid.Svg.Elements, Lucid.Svg.Attributes- build-depends: base >= 4.5 && < 4.9,+ build-depends: base >= 4.5 && < 4.10, blaze-builder >= 0.2 && < 0.5,- transformers >= 0.2 && < 0.5,+ transformers >= 0.2 && < 0.6, text >= 0.11 && < 1.3, lucid >= 2.9.2 && < 3.0 hs-source-dirs: src
src/Lucid/Svg/Elements.hs view
@@ -83,8 +83,8 @@ defs_ = term "defs" -- | @desc@ element-desc_ :: Monad m => [Attribute] -> SvgT m ()-desc_ = with $ makeXmlElementNoEnd "desc"+desc_ :: Term arg result => arg -> result+desc_ = term "desc" -- | @ellipse@ element ellipse_ :: Monad m => [Attribute] -> SvgT m ()@@ -327,8 +327,8 @@ textPath_ = term "textPath" -- | @title@ element-title_ :: Monad m => [Attribute] -> SvgT m ()-title_ = with $ makeXmlElementNoEnd "title"+title_ :: Term arg result => arg -> result+title_ = term "title" -- | @tref@ element tref_ :: Monad m => [Attribute] -> SvgT m ()