ditto-lucid 0.1.0.4 → 0.1.1.0
raw patch · 2 files changed
+4/−3 lines, 2 filesdep ~dittoPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: ditto
API changes (from Hackage documentation)
- Ditto.Lucid.Named: label :: (Monad m, Monad f) => HtmlT f () -> Form m input error (HtmlT f ()) ()
+ Ditto.Lucid.Named: label :: (Monad m, Monad f) => HtmlT f () -> String -> Form m input error (HtmlT f ()) ()
Files
- ditto-lucid.cabal +2/−2
- src/Ditto/Lucid/Named.hs +2/−1
ditto-lucid.cabal view
@@ -1,5 +1,5 @@ Name: ditto-lucid-Version: 0.1.0.4+Version: 0.1.1.0 Synopsis: Add support for using lucid with Ditto Description: Ditto is a library for building and validating forms using applicative functors. This package add support for using ditto with lucid. License: BSD3@@ -24,7 +24,7 @@ build-depends: base >4.5 && <5 , lucid < 3.0.0- , ditto == 0.1.0.*+ , ditto >= 0.1.1.0 && <= 0.2 , text >= 0.11 && < 1.3 , path-pieces hs-source-dirs: src
src/Ditto/Lucid/Named.hs view
@@ -149,8 +149,9 @@ label :: (Monad m, Monad f) => HtmlT f ()+ -> String -> Form m input error (HtmlT f ()) ()-label c = G.label mkLabel+label c name = G.label mkLabel name where mkLabel i = label_ [for_ (toPathPiece i)] c