summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Integration.hs
diff options
context:
space:
mode:
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-}