From 1eb87e58f0dd451413e683a33653e5cfe1958589 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Mon, 14 Sep 2015 05:39:15 +0200 Subject: [PATCH] Silence redundant import warning with base-4.8.* --- src/Database/Bloodhound/Types/Class.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Database/Bloodhound/Types/Class.hs b/src/Database/Bloodhound/Types/Class.hs index a129987..6fec97c 100644 --- a/src/Database/Bloodhound/Types/Class.hs +++ b/src/Database/Bloodhound/Types/Class.hs @@ -1,8 +1,11 @@ +{-# LANGUAGE CPP #-} module Database.Bloodhound.Types.Class ( Seminearring(..) ) where +#if !MIN_VERSION_base(4,8,0) import Data.Monoid +#endif class Monoid a => Seminearring a where -- 0, +, *