Silence redundant import warning with base-4.8.*
commit1eb87e58f0dd451413e683a33653e5cfe1958589
authorSimon Jakobi <simon.jakobi@gmail.com>
dateMon 14 Sep 2015, 05:39 (11 years ago)
parent09074d7
src/Database/Bloodhound/Types/Class.hs+3
@@ -1,8 +1,11 @@
1+{-# LANGUAGE CPP #-}
12module Database.Bloodhound.Types.Class
23 ( Seminearring(..) )
34 where
45
6+#if !MIN_VERSION_base(4,8,0)
57import Data.Monoid
8+#endif
69
710class Monoid a => Seminearring a where
811 -- 0, +, *