summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Integration.hs
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2011-09-01 14:25:37 +0000
committerBas van Dijk <v.dijk.bas@gmail.com>2011-09-01 14:25:37 +0000
commit4e6c686dd496e9b7bdd209da3e8fbd3ac47de65a (patch)
treee54a0d2639624bd5f40ea25e6539699b68e59261 /lib/Numeric/GSL/Integration.hs
parentc236a193ed710a29b6940b87bcbe05cb8f4a086a (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.hs6
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
23import Foreign
24import Foreign.C.Types(CInt) 23import Foreign.C.Types(CInt)
24import Foreign.Marshal.Alloc(malloc, free)
25import Foreign.Ptr(Ptr, FunPtr, freeHaskellFunPtr)
26import Foreign.Storable(peek)
25import Data.Packed.Internal(check,(//)) 27import Data.Packed.Internal(check,(//))
26 28import 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-}