summaryrefslogtreecommitdiff
path: root/lib/Numeric/ContainerBoot.hs
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2011-12-24 21:39:19 +0100
committerBas van Dijk <v.dijk.bas@gmail.com>2011-12-24 21:39:19 +0100
commit43956aff360476d095b03fbbdef20f18df2dc933 (patch)
tree950e968a34d46011476bb7fe0adf25c2f6c37ae4 /lib/Numeric/ContainerBoot.hs
parent3831bed8a046e53483292a0771ee1ff5b3fecf7a (diff)
Warning police for GHC < 7.4
The previous patch got rid of warnings when ghc >= 7.4. Unfortunately this caused warnings on GHC < 7.4. This patch removes warnings on all versions of GHC.
Diffstat (limited to 'lib/Numeric/ContainerBoot.hs')
-rw-r--r--lib/Numeric/ContainerBoot.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Numeric/ContainerBoot.hs b/lib/Numeric/ContainerBoot.hs
index fb783ce..0215711 100644
--- a/lib/Numeric/ContainerBoot.hs
+++ b/lib/Numeric/ContainerBoot.hs
@@ -1,3 +1,4 @@
1{-# LANGUAGE CPP #-}
1{-# LANGUAGE TypeFamilies #-} 2{-# LANGUAGE TypeFamilies #-}
2{-# LANGUAGE FlexibleContexts #-} 3{-# LANGUAGE FlexibleContexts #-}
3{-# LANGUAGE FlexibleInstances #-} 4{-# LANGUAGE FlexibleInstances #-}
@@ -49,7 +50,10 @@ import Data.Packed.ST as ST
49import Numeric.Conversion 50import Numeric.Conversion
50import Data.Packed.Internal 51import Data.Packed.Internal
51import Numeric.GSL.Vector 52import Numeric.GSL.Vector
53
54#if __GLASGOW_HASKELL__ >= 704
52import Foreign.C.Types(CInt(..)) 55import Foreign.C.Types(CInt(..))
56#endif
53 57
54import Data.Complex 58import Data.Complex
55import Control.Monad(ap) 59import Control.Monad(ap)