From 4e6c686dd496e9b7bdd209da3e8fbd3ac47de65a Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Thu, 1 Sep 2011 14:25:37 +0000 Subject: Get rid of some deprecation warnings & Use more explicit imports --- lib/Numeric/GSL/Integration.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/Numeric/GSL/Integration.hs') 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 ( integrateQAGS ) where -import Foreign import Foreign.C.Types(CInt) +import Foreign.Marshal.Alloc(malloc, free) +import Foreign.Ptr(Ptr, FunPtr, freeHaskellFunPtr) +import Foreign.Storable(peek) import Data.Packed.Internal(check,(//)) - +import System.IO.Unsafe(unsafePerformIO) {- | conversion of Haskell functions into function pointers that can be used in the C side -} -- cgit v1.2.3