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/GSL/Integration.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/GSL/Integration.hs')
-rw-r--r-- | lib/Numeric/GSL/Integration.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/GSL/Integration.hs b/lib/Numeric/GSL/Integration.hs index a59862a..a0e922b 100644 --- a/lib/Numeric/GSL/Integration.hs +++ b/lib/Numeric/GSL/Integration.hs | |||
@@ -20,7 +20,7 @@ module Numeric.GSL.Integration ( | |||
20 | integrateQAGS | 20 | integrateQAGS |
21 | ) where | 21 | ) where |
22 | 22 | ||
23 | import Foreign.C.Types(CInt(..)) | 23 | import Foreign.C.Types |
24 | import Foreign.Marshal.Alloc(malloc, free) | 24 | import Foreign.Marshal.Alloc(malloc, free) |
25 | import Foreign.Ptr(Ptr, FunPtr, freeHaskellFunPtr) | 25 | import Foreign.Ptr(Ptr, FunPtr, freeHaskellFunPtr) |
26 | import Foreign.Storable(peek) | 26 | import Foreign.Storable(peek) |