diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-08-08 10:41:39 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-08-08 10:41:39 -0700 |
commit | 802dc9a8b9f206eb3be592ab19067f637eb2a3ee (patch) | |
tree | 6a022f707773924c14d46b48c2fdb5b09d72c983 /src/Text/Pandoc/Templates.hs | |
parent | bb61624bb2bba416e1992ecdf101f9660a3edcae (diff) |
Added Text.Pandoc.Compat.Monoid.
This allows pandoc to compile with base < 4.5, where Data.Monoid
doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
Diffstat (limited to 'src/Text/Pandoc/Templates.hs')
-rw-r--r-- | src/Text/Pandoc/Templates.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs index c95c84ca8..22a44e735 100644 --- a/src/Text/Pandoc/Templates.hs +++ b/src/Text/Pandoc/Templates.hs @@ -102,7 +102,7 @@ import Control.Applicative import qualified Data.Text as T import Data.Text (Text) import Data.Text.Encoding (encodeUtf8) -import Data.Monoid ((<>), Monoid(..)) +import Text.Pandoc.Compat.Monoid ((<>), Monoid(..)) import Data.List (intersperse, nub) import System.FilePath ((</>), (<.>)) import qualified Data.Map as M |