Use OverlappingInstances instead of OVERLAPS for ghc 7.8.4.
commitba3088f0b3e522cb0cc07c9072a0d2b1b5486047
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 20 Aug 2017, 10:43 (9 years ago)
parent40d1246
src/Text/Pandoc/Class.hs+4
@@ -5,6 +5,10 @@
55{-# LANGUAGE GeneralizedNewtypeDeriving #-}
66{-# LANGUAGE FlexibleContexts #-}
77{-# LANGUAGE UndecidableInstances #-}
8+#if MIN_VERSION_base(4,8,0)
9+#else
10+{-# LANGUAGE OverlappingInstances #-}
11+#endif
812
913{-
1014Copyright (C) 2016-17 Jesse Rosenthal <jrosenthal@jhu.edu>