summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-20 10:43:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-20 10:43:31 -0700
commitba3088f0b3e522cb0cc07c9072a0d2b1b5486047 (patch)
tree0afd470df1d254f758e3d19918525e80a23d39d9 /src/Text
parent40d12466297e51f5d88546798b420ef291b5d48f (diff)
Use OverlappingInstances instead of OVERLAPS for ghc 7.8.4.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Class.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Class.hs b/src/Text/Pandoc/Class.hs
index 6b46cdff5..5ca285ca4 100644
--- a/src/Text/Pandoc/Class.hs
+++ b/src/Text/Pandoc/Class.hs
@@ -5,6 +5,10 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE UndecidableInstances #-}
+#if MIN_VERSION_base(4,8,0)
+#else
+{-# LANGUAGE OverlappingInstances #-}
+#endif
{-
Copyright (C) 2016-17 Jesse Rosenthal <jrosenthal@jhu.edu>