[commit: packages/terminfo] master: Avoid redundant import of Data.Monoid w/ base-4.8 (e9d2262)
git at git.haskell.org
git at git.haskell.org
Fri Jan 16 22:30:46 UTC 2015
Repository : ssh://git@git.haskell.org/terminfo
On branch : master
Link : http://git.haskell.org/packages/terminfo.git/commitdiff/e9d2262e6afd104663da48df1a610d3a51ac4bee
>---------------------------------------------------------------
commit e9d2262e6afd104663da48df1a610d3a51ac4bee
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Sun Dec 28 09:01:50 2014 +0100
Avoid redundant import of Data.Monoid w/ base-4.8
This makes `terminfo` `-Wall` clean
>---------------------------------------------------------------
e9d2262e6afd104663da48df1a610d3a51ac4bee
System/Console/Terminfo/Base.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/System/Console/Terminfo/Base.hs b/System/Console/Terminfo/Base.hs
index 24a4782..87ac774 100644
--- a/System/Console/Terminfo/Base.hs
+++ b/System/Console/Terminfo/Base.hs
@@ -45,7 +45,9 @@ module System.Console.Terminfo.Base(
import Control.Applicative
import Control.Monad
+#if !MIN_VERSION_base(4,8,0)
import Data.Monoid
+#endif
import Foreign.C
import Foreign.ForeignPtr
import Foreign.Ptr
More information about the ghc-commits
mailing list