git.iko.soy/typeable/mandrill
on master help sign in
2 files changed+6−1
since splitsnapshots
unifiedsplit
mandrill.cabal+1−1 src/Network/API/Mandrill/Types.hs+5
mandrill.cabal+1−1
@@ -41,7 +41,7 @@ library
4141 , http-types >= 0.8.0
4242 , http-client >= 0.3.0
4343 , http-client-tls >= 0.2.0.0
44− , aeson >= 0.7.0.3 && < 1.4.0.0
44+ , aeson >= 0.7.0.3 && < 1.5.0.0
4545 , microlens-th >= 0.4.0.0
4646 , blaze-html >= 0.5.0.0
4747 , QuickCheck >= 2.6 && < 3.0
src/Network/API/Mandrill/Types.hs+5
@@ -158,6 +158,11 @@ unsafeMkMandrillHtml = MandrillHtml . Blaze.preEscapedToHtml
158158mkMandrillHtml :: Blaze.Html -> MandrillHtml
159159mkMandrillHtml = MandrillHtml
160160
161+#if MIN_VERSION_base(4,11,0)
162+instance Semigroup MandrillHtml where
163+ MandrillHtml m1 <> MandrillHtml m2 = MandrillHtml (m1 <> m2)
164+#endif
165+
161166instance Monoid MandrillHtml where
162167 mempty = MandrillHtml mempty
163168 mappend (MandrillHtml m1) (MandrillHtml m2) = MandrillHtml (m1 <> m2)