pandoc-builder-monadic 1.1.0 → 1.1.1
raw patch · 3 files changed
+11/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- pandoc-builder-monadic.cabal +1/−1
- src/Text/Pandoc/Builder/Monadic/Internal.hs +6/−0
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for pandoc-builder-monadic +## 1.1.1++* Fix GHC 8.2.x support by introducing some CPP+ ## 1.1.0 * Support GHC 8.0.2 onwards
pandoc-builder-monadic.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: pandoc-builder-monadic-version: 1.1.0+version: 1.1.1 synopsis: A monadic DSL for building pandoc documents description: A convenient way to build pandoc documents.
src/Text/Pandoc/Builder/Monadic/Internal.hs view
@@ -55,6 +55,12 @@ instance Monoid a => Monoid (BuilderM el a) where mempty = Builder $ pure mempty+#if !(MIN_VERSION_base(4,11,0))+ mappend f g = do+ a <- f+ b <- g+ pure (mappend a b)+#endif instance B.ToMetaValue (Builder Inline) where toMetaValue = B.MetaInlines . runToList