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/Vector.hs | |
parent | c236a193ed710a29b6940b87bcbe05cb8f4a086a (diff) |
Get rid of some deprecation warnings & Use more explicit imports
Diffstat (limited to 'lib/Numeric/GSL/Vector.hs')
-rw-r--r-- | lib/Numeric/GSL/Vector.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Numeric/GSL/Vector.hs b/lib/Numeric/GSL/Vector.hs index 40abfa8..e912953 100644 --- a/lib/Numeric/GSL/Vector.hs +++ b/lib/Numeric/GSL/Vector.hs | |||
@@ -28,8 +28,11 @@ import Data.Packed.Internal.Signatures | |||
28 | import Data.Packed.Internal.Vector | 28 | import Data.Packed.Internal.Vector |
29 | 29 | ||
30 | import Data.Complex | 30 | import Data.Complex |
31 | import Foreign | 31 | import Foreign.Marshal.Alloc(free) |
32 | import Foreign.Marshal.Array(newArray) | ||
33 | import Foreign.Ptr(Ptr) | ||
32 | import Foreign.C.Types(CInt) | 34 | import Foreign.C.Types(CInt) |
35 | import System.IO.Unsafe(unsafePerformIO) | ||
33 | 36 | ||
34 | fromei x = fromIntegral (fromEnum x) :: CInt | 37 | fromei x = fromIntegral (fromEnum x) :: CInt |
35 | 38 | ||