New patches:
[Monoid instance for Html
Daniel Schüssler **20100218045809
Ignore-this: d5c4a93ebfdf43519f676be426e205ed
Will unfortunately break packages which already define their own instance. Possibly useful for use with things such as HoleyMonoid, though.
] {
hunk ./Text/Html.hs 20
) where
import qualified Text.Html.BlockTable as BT
+import Data.Monoid(Monoid(..))
infixr 3 > -- combining table cells
infixr 4 <-> -- combining table cells
hunk ./Text/Html.hs 1026
showPair (HtmlAttr tag val)
= tag ++ " = \"" ++ val ++ "\""
+
+instance Monoid Html where
+ mempty = noHtml
+ mappend = (+++)
}
Context:
[TAG 1.0.1.2
Don Stewart **20081011214349]
Patch bundle hash:
20fc8d729e300fb8a4e715871b899a725da15425