lucid 2.4 → 2.5
raw patch · 3 files changed
+3/−3 lines, 3 files
Files
- README.md +1/−1
- lucid.cabal +1/−1
- src/Lucid/Base.hs +1/−1
README.md view
@@ -1,4 +1,4 @@-lucid+lucid [](https://hackage.haskell.org/package/lucid) ===== Clear to write, read and edit DSL for writing HTML
lucid.cabal view
@@ -1,5 +1,5 @@ name: lucid-version: 2.4+version: 2.5 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
@@ -78,7 +78,7 @@ } -- | Monoid is right-associative, a la the 'Builder' in it.-instance Monoid a => Monoid (Html a) where+instance (Monoid a,Monad m) => Monoid (HtmlT m a) where mempty = HtmlT (return (\_ _ -> mempty,mempty)) mappend (HtmlT get_f_a) (HtmlT get_g_b) = HtmlT (do ~(f,a) <- get_f_a