From ba3088f0b3e522cb0cc07c9072a0d2b1b5486047 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 20 Aug 2017 10:43:31 -0700 Subject: Use OverlappingInstances instead of OVERLAPS for ghc 7.8.4. --- src/Text/Pandoc/Class.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Text/Pandoc') 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 -- cgit v1.2.3