diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-12-24 21:39:19 +0100 |
---|---|---|
committer | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-12-24 21:39:19 +0100 |
commit | 43956aff360476d095b03fbbdef20f18df2dc933 (patch) | |
tree | 950e968a34d46011476bb7fe0adf25c2f6c37ae4 /lib/Numeric/ContainerBoot.hs | |
parent | 3831bed8a046e53483292a0771ee1ff5b3fecf7a (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.hs | 4 |
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 | |||
49 | import Numeric.Conversion | 50 | import Numeric.Conversion |
50 | import Data.Packed.Internal | 51 | import Data.Packed.Internal |
51 | import Numeric.GSL.Vector | 52 | import Numeric.GSL.Vector |
53 | |||
54 | #if __GLASGOW_HASKELL__ >= 704 | ||
52 | import Foreign.C.Types(CInt(..)) | 55 | import Foreign.C.Types(CInt(..)) |
56 | #endif | ||
53 | 57 | ||
54 | import Data.Complex | 58 | import Data.Complex |
55 | import Control.Monad(ap) | 59 | import Control.Monad(ap) |