aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Class.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-16 12:11:51 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-16 12:17:58 -0700
commitf0b6e0ee4970c2338159c376935d375f4aeda1dc (patch)
treea5d344782e5da8b0929af6502cba90025a4fdb3a /src/Text/Pandoc/Class.hs
parente21b57991e589d88f50991b87c6ec01d350e9b22 (diff)
downloadpandoc-f0b6e0ee4970c2338159c376935d375f4aeda1dc.tar.gz
Monoid/Semiground cleanup relying on custom Prelude.
Diffstat (limited to 'src/Text/Pandoc/Class.hs')
-rw-r--r--src/Text/Pandoc/Class.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Class.hs b/src/Text/Pandoc/Class.hs
index f7544433c..40927252f 100644
--- a/src/Text/Pandoc/Class.hs
+++ b/src/Text/Pandoc/Class.hs
@@ -923,11 +923,7 @@ data FileInfo = FileInfo { infoFileMTime :: UTCTime
}
newtype FileTree = FileTree {unFileTree :: M.Map FilePath FileInfo}
-#if MIN_VERSION_base(4,9,0)
deriving (Semigroup, Monoid)
-#else
- deriving (Monoid)
-#endif
getFileInfo :: FilePath -> FileTree -> Maybe FileInfo
getFileInfo fp tree =