packages feed

lucid 2.8.1 → 2.9.0

raw patch · 3 files changed

+7/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Lucid.Html5: svg_ :: Text -> Attribute
+ Lucid.Html5: svg_ :: Term arg result => arg -> result

Files

README.md view
@@ -3,6 +3,8 @@  Clear to write, read and edit DSL for writing HTML +[Documentation](http://chrisdone.github.io/lucid/)+ ## Introduction  HTML terms in Lucid are written with a postfix ‘`_`’ to indicate data
lucid.cabal view
@@ -1,5 +1,5 @@ name:                lucid-version:             2.8.1+version:             2.9.0 synopsis:            Clear to write, read and edit DSL for HTML description:         Clear to write, read and edit DSL for HTML. See the 'Lucid' module                      for description and documentation.
src/Lucid/Html5.hs view
@@ -317,6 +317,10 @@ param_ :: Monad m => [Attribute] -> HtmlT m () param_ = with (makeElementNoEnd "param") +-- | The @svg@ attribute.+svg_ :: Term arg result => arg -> result+svg_ = term "svg"+ -- | @pre@ element pre_ :: Term arg result => arg -> result pre_ = term "pre"@@ -1008,10 +1012,6 @@ -- | The @scope@ attribute. scope_ :: Text -> Attribute scope_ = makeAttribute "scope"---- | The @svg@ attribute.-svg_ :: Text -> Attribute-svg_ = makeAttribute "svg"  -- | The @scoped@ attribute. scoped_ :: Text -> Attribute