diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-12-24 21:21:29 +0100 |
---|---|---|
committer | Bas van Dijk <v.dijk.bas@gmail.com> | 2011-12-24 21:21:29 +0100 |
commit | 3831bed8a046e53483292a0771ee1ff5b3fecf7a (patch) | |
tree | 44cfac5c6796baf0be7180340b2e6d89d1d4ac52 /lib/Data | |
parent | 301a336bdc1b43e3ce637da51653042fe670eef7 (diff) |
Warning police
Diffstat (limited to 'lib/Data')
-rw-r--r-- | lib/Data/Packed/Internal/Common.hs | 2 | ||||
-rw-r--r-- | lib/Data/Packed/Internal/Matrix.hs | 2 | ||||
-rw-r--r-- | lib/Data/Packed/Internal/Signatures.hs | 6 | ||||
-rw-r--r-- | lib/Data/Packed/Internal/Vector.hs | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/Data/Packed/Internal/Common.hs b/lib/Data/Packed/Internal/Common.hs index a8c3c3e..60e3444 100644 --- a/lib/Data/Packed/Internal/Common.hs +++ b/lib/Data/Packed/Internal/Common.hs | |||
@@ -27,7 +27,7 @@ module Data.Packed.Internal.Common( | |||
27 | import Foreign | 27 | import Foreign |
28 | import Control.Monad(when) | 28 | import Control.Monad(when) |
29 | import Foreign.C.String(peekCString) | 29 | import Foreign.C.String(peekCString) |
30 | import Foreign.C.Types | 30 | import Foreign.C.Types(CInt(..), CChar) |
31 | import Foreign.Storable.Complex() | 31 | import Foreign.Storable.Complex() |
32 | import Data.List(transpose,intersperse) | 32 | import Data.List(transpose,intersperse) |
33 | import Control.Exception as E | 33 | import Control.Exception as E |
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs index d5fa5a0..9fbaf6d 100644 --- a/lib/Data/Packed/Internal/Matrix.hs +++ b/lib/Data/Packed/Internal/Matrix.hs | |||
@@ -44,7 +44,7 @@ import Foreign.Marshal.Array(newArray) | |||
44 | import Foreign.Ptr(Ptr, castPtr) | 44 | import Foreign.Ptr(Ptr, castPtr) |
45 | import Foreign.Storable(Storable, peekElemOff, pokeElemOff, poke, sizeOf) | 45 | import Foreign.Storable(Storable, peekElemOff, pokeElemOff, poke, sizeOf) |
46 | import Data.Complex(Complex) | 46 | import Data.Complex(Complex) |
47 | import Foreign.C.Types(CInt, CChar) | 47 | import Foreign.C.Types(CInt(..), CChar) |
48 | import Foreign.C.String(newCString) | 48 | import Foreign.C.String(newCString) |
49 | import System.IO.Unsafe(unsafePerformIO) | 49 | import System.IO.Unsafe(unsafePerformIO) |
50 | 50 | ||
diff --git a/lib/Data/Packed/Internal/Signatures.hs b/lib/Data/Packed/Internal/Signatures.hs index b81efa4..2835720 100644 --- a/lib/Data/Packed/Internal/Signatures.hs +++ b/lib/Data/Packed/Internal/Signatures.hs | |||
@@ -14,9 +14,9 @@ | |||
14 | 14 | ||
15 | module Data.Packed.Internal.Signatures where | 15 | module Data.Packed.Internal.Signatures where |
16 | 16 | ||
17 | import Foreign | 17 | import Foreign.Ptr(Ptr) |
18 | import Data.Complex | 18 | import Data.Complex(Complex) |
19 | import Foreign.C.Types | 19 | import Foreign.C.Types(CInt) |
20 | 20 | ||
21 | type PF = Ptr Float -- | 21 | type PF = Ptr Float -- |
22 | type PD = Ptr Double -- | 22 | type PD = Ptr Double -- |
diff --git a/lib/Data/Packed/Internal/Vector.hs b/lib/Data/Packed/Internal/Vector.hs index 43b3fd8..5062bc0 100644 --- a/lib/Data/Packed/Internal/Vector.hs +++ b/lib/Data/Packed/Internal/Vector.hs | |||
@@ -38,7 +38,7 @@ import Foreign.ForeignPtr(ForeignPtr, castForeignPtr) | |||
38 | import Foreign.Ptr(Ptr) | 38 | import Foreign.Ptr(Ptr) |
39 | import Foreign.Storable(Storable, peekElemOff, pokeElemOff, sizeOf) | 39 | import Foreign.Storable(Storable, peekElemOff, pokeElemOff, sizeOf) |
40 | import Foreign.C.String | 40 | import Foreign.C.String |
41 | import Foreign.C.Types(CInt,CChar) | 41 | import Foreign.C.Types(CInt(..), CChar) |
42 | import Data.Complex | 42 | import Data.Complex |
43 | import Control.Monad(when) | 43 | import Control.Monad(when) |
44 | import System.IO.Unsafe(unsafePerformIO) | 44 | import System.IO.Unsafe(unsafePerformIO) |