packages feed

reform-lucid 0.0.1.0 → 0.0.1.1

raw patch · 2 files changed

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

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Text.Reform.Lucid.Common: label :: (Monad m, ToHtml children, Monad f) => children -> Form m input error (HtmlT f ()) () ()
+ Text.Reform.Lucid.Common: label :: (Monad m, Monad f) => HtmlT f () -> Form m input error (HtmlT f ()) () ()
- Text.Reform.Lucid.String: label :: (Monad m, ToHtml children, Monad f) => children -> Form m input error (HtmlT f ()) () ()
+ Text.Reform.Lucid.String: label :: (Monad m, Monad f) => HtmlT f () -> Form m input error (HtmlT f ()) () ()
- Text.Reform.Lucid.Text: label :: (Monad m, ToHtml children, Monad f) => children -> Form m input error (HtmlT f ()) () ()
+ Text.Reform.Lucid.Text: label :: (Monad m, Monad f) => HtmlT f () -> Form m input error (HtmlT f ()) () ()

Files

Text/Reform/Lucid/Common.hs view
@@ -131,12 +131,12 @@ -- Use this with <++ or ++> to ensure that the @for@ attribute references the correct @id@. -- -- > label "some input field: " ++> inputText ""-label :: (Monad m, ToHtml children, Monad f) =>-         children-      -> Form m input error (HtmlT f ()) () ()+label :: (Monad m, Monad f) +  => HtmlT f ()+  -> Form m input error (HtmlT f ()) () () label c = G.label mkLabel   where-  mkLabel i = label_ [for_ (toPathPiece i)] $ toHtml c+  mkLabel i = label_ [for_ (toPathPiece i)] c  arbitraryHtml :: Monad m => view -> Form m input error view () () arbitraryHtml wrap = Form $ do
reform-lucid.cabal view
@@ -1,5 +1,5 @@ Name:                reform-lucid-Version:             0.0.1.0+Version:             0.0.1.1 Synopsis:            Add support for using lucid with Reform Description:         Reform is a library for building and validating forms using applicative functors. This package add support for using reform with blaze-html. License:             BSD3