diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-09-01 14:25:37 +0000 |
---|---|---|
committer | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-09-01 14:25:37 +0000 |
commit | 4e6c686dd496e9b7bdd209da3e8fbd3ac47de65a (patch) | |
tree | e54a0d2639624bd5f40ea25e6539699b68e59261 /lib/Numeric/GSL/Integration.hs | |
parent | c236a193ed710a29b6940b87bcbe05cb8f4a086a (diff) |
Get rid of some deprecation warnings & Use more explicit imports
Diffstat (limited to 'lib/Numeric/GSL/Integration.hs')
-rw-r--r-- | lib/Numeric/GSL/Integration.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Numeric/GSL/Integration.hs b/lib/Numeric/GSL/Integration.hs index 7103ea4..84e8546 100644 --- a/lib/Numeric/GSL/Integration.hs +++ b/lib/Numeric/GSL/Integration.hs | |||
@@ -20,10 +20,12 @@ module Numeric.GSL.Integration ( | |||
20 | integrateQAGS | 20 | integrateQAGS |
21 | ) where | 21 | ) where |
22 | 22 | ||
23 | import Foreign | ||
24 | import Foreign.C.Types(CInt) | 23 | import Foreign.C.Types(CInt) |
24 | import Foreign.Marshal.Alloc(malloc, free) | ||
25 | import Foreign.Ptr(Ptr, FunPtr, freeHaskellFunPtr) | ||
26 | import Foreign.Storable(peek) | ||
25 | import Data.Packed.Internal(check,(//)) | 27 | import Data.Packed.Internal(check,(//)) |
26 | 28 | import System.IO.Unsafe(unsafePerformIO) | |
27 | 29 | ||
28 | {- | conversion of Haskell functions into function pointers that can be used in the C side | 30 | {- | conversion of Haskell functions into function pointers that can be used in the C side |
29 | -} | 31 | -} |