packages feed

lucid 2.8.0 → 2.8.1

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Lucid.Base: data Attribute
+ Lucid.Base: Attribute :: (Text, Text) -> Attribute
+ Lucid.Base: newtype Attribute

Files

lucid.cabal view
@@ -1,5 +1,5 @@ name:                lucid-version:             2.8.0+version:             2.8.1 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/Base.hs view
@@ -28,7 +28,7 @@    -- * Types   ,Html   ,HtmlT-  ,Attribute+  ,Attribute(..)    -- * Classes   ,Term(..)   ,TermRaw(..)@@ -57,7 +57,7 @@ -------------------------------------------------------------------------------- -- Types --- | A simple attribute.+-- | A simple attribute. Don't use the constructor, use 'makeAttribute'. newtype Attribute = Attribute (Text,Text)   deriving (Show,Eq)