diff options
author | gwern0 <gwern0@gmail.com> | 2010-03-09 01:34:19 +0000 |
---|---|---|
committer | gwern0 <gwern0@gmail.com> | 2010-03-09 01:34:19 +0000 |
commit | b8607cdba6df67691d800a3726a52c858a63876c (patch) | |
tree | 504aa61aa6eb365cc4b2b5e95a271a4750196c0a | |
parent | 283f3033f86fabde2290bb28a59e7d87fd0754f5 (diff) |
change haskell98 imports
-rw-r--r-- | lib/Data/Packed/Internal/Matrix.hs | 2 | ||||
-rw-r--r-- | lib/Data/Packed/Internal/Signatures.hs | 2 | ||||
-rw-r--r-- | lib/Data/Packed/Internal/Vector.hs | 2 | ||||
-rw-r--r-- | lib/Graphics/Plot.hs | 2 | ||||
-rw-r--r-- | lib/Numeric/GSL.hs | 4 | ||||
-rw-r--r-- | lib/Numeric/GSL/Fourier.hs | 2 | ||||
-rw-r--r-- | lib/Numeric/GSL/Polynomials.hs | 2 | ||||
-rw-r--r-- | lib/Numeric/GSL/Vector.hs | 2 | ||||
-rw-r--r-- | lib/Numeric/LinearAlgebra/Instances.hs | 2 |
9 files changed, 10 insertions, 10 deletions
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs index b8e7ab0..d879ee6 100644 --- a/lib/Data/Packed/Internal/Matrix.hs +++ b/lib/Data/Packed/Internal/Matrix.hs | |||
@@ -38,7 +38,7 @@ import Data.Packed.Internal.Signatures | |||
38 | import Data.Packed.Internal.Vector | 38 | import Data.Packed.Internal.Vector |
39 | 39 | ||
40 | import Foreign hiding (xor) | 40 | import Foreign hiding (xor) |
41 | import Complex | 41 | import Data.Complex |
42 | import Foreign.C.Types | 42 | import Foreign.C.Types |
43 | import Foreign.C.String | 43 | import Foreign.C.String |
44 | 44 | ||
diff --git a/lib/Data/Packed/Internal/Signatures.hs b/lib/Data/Packed/Internal/Signatures.hs index 67d2bfc..d3ce121 100644 --- a/lib/Data/Packed/Internal/Signatures.hs +++ b/lib/Data/Packed/Internal/Signatures.hs | |||
@@ -15,7 +15,7 @@ | |||
15 | module Data.Packed.Internal.Signatures where | 15 | module Data.Packed.Internal.Signatures where |
16 | 16 | ||
17 | import Foreign | 17 | import Foreign |
18 | import Complex | 18 | import Data.Complex |
19 | import Foreign.C.Types | 19 | import Foreign.C.Types |
20 | 20 | ||
21 | type PD = Ptr Double -- | 21 | type PD = Ptr Double -- |
diff --git a/lib/Data/Packed/Internal/Vector.hs b/lib/Data/Packed/Internal/Vector.hs index 6bbd207..04232a2 100644 --- a/lib/Data/Packed/Internal/Vector.hs +++ b/lib/Data/Packed/Internal/Vector.hs | |||
@@ -33,7 +33,7 @@ import Data.Packed.Internal.Signatures | |||
33 | import Foreign | 33 | import Foreign |
34 | import Foreign.C.String | 34 | import Foreign.C.String |
35 | import Foreign.C.Types(CInt,CChar) | 35 | import Foreign.C.Types(CInt,CChar) |
36 | import Complex | 36 | import Data.Complex |
37 | import Control.Monad(when) | 37 | import Control.Monad(when) |
38 | 38 | ||
39 | #if __GLASGOW_HASKELL__ >= 605 | 39 | #if __GLASGOW_HASKELL__ >= 605 |
diff --git a/lib/Graphics/Plot.hs b/lib/Graphics/Plot.hs index 510e1b7..3f66d98 100644 --- a/lib/Graphics/Plot.hs +++ b/lib/Graphics/Plot.hs | |||
@@ -31,7 +31,7 @@ module Graphics.Plot( | |||
31 | import Data.Packed | 31 | import Data.Packed |
32 | import Numeric.LinearAlgebra(outer) | 32 | import Numeric.LinearAlgebra(outer) |
33 | import Data.List(intersperse) | 33 | import Data.List(intersperse) |
34 | import System | 34 | import System.Process (system) |
35 | 35 | ||
36 | size = dim | 36 | size = dim |
37 | 37 | ||
diff --git a/lib/Numeric/GSL.hs b/lib/Numeric/GSL.hs index 1485e05..5442586 100644 --- a/lib/Numeric/GSL.hs +++ b/lib/Numeric/GSL.hs | |||
@@ -20,7 +20,7 @@ module Numeric.GSL ( | |||
20 | , module Numeric.GSL.Minimization | 20 | , module Numeric.GSL.Minimization |
21 | , module Numeric.GSL.Root | 21 | , module Numeric.GSL.Root |
22 | , module Numeric.GSL.ODE | 22 | , module Numeric.GSL.ODE |
23 | , module Complex | 23 | , module Data.Complex |
24 | , setErrorHandlerOff | 24 | , setErrorHandlerOff |
25 | ) where | 25 | ) where |
26 | 26 | ||
@@ -31,7 +31,7 @@ import Numeric.GSL.Polynomials | |||
31 | import Numeric.GSL.Minimization | 31 | import Numeric.GSL.Minimization |
32 | import Numeric.GSL.Root | 32 | import Numeric.GSL.Root |
33 | import Numeric.GSL.ODE | 33 | import Numeric.GSL.ODE |
34 | import Complex | 34 | import Data.Complex |
35 | 35 | ||
36 | 36 | ||
37 | -- | This action removes the GSL default error handler (which aborts the program), so that | 37 | -- | This action removes the GSL default error handler (which aborts the program), so that |
diff --git a/lib/Numeric/GSL/Fourier.hs b/lib/Numeric/GSL/Fourier.hs index 17439f1..84943a0 100644 --- a/lib/Numeric/GSL/Fourier.hs +++ b/lib/Numeric/GSL/Fourier.hs | |||
@@ -21,7 +21,7 @@ module Numeric.GSL.Fourier ( | |||
21 | ) where | 21 | ) where |
22 | 22 | ||
23 | import Data.Packed.Internal | 23 | import Data.Packed.Internal |
24 | import Complex | 24 | import Data.Complex |
25 | import Foreign | 25 | import Foreign |
26 | import Foreign.C.Types(CInt) | 26 | import Foreign.C.Types(CInt) |
27 | 27 | ||
diff --git a/lib/Numeric/GSL/Polynomials.hs b/lib/Numeric/GSL/Polynomials.hs index 3e0cf81..0804c91 100644 --- a/lib/Numeric/GSL/Polynomials.hs +++ b/lib/Numeric/GSL/Polynomials.hs | |||
@@ -20,7 +20,7 @@ module Numeric.GSL.Polynomials ( | |||
20 | ) where | 20 | ) where |
21 | 21 | ||
22 | import Data.Packed.Internal | 22 | import Data.Packed.Internal |
23 | import Complex | 23 | import Data.Complex |
24 | import Foreign | 24 | import Foreign |
25 | 25 | ||
26 | {- | Solution of general polynomial equations, using /gsl_poly_complex_solve/. For example, | 26 | {- | Solution of general polynomial equations, using /gsl_poly_complex_solve/. For example, |
diff --git a/lib/Numeric/GSL/Vector.hs b/lib/Numeric/GSL/Vector.hs index 2b21de2..28c3b06 100644 --- a/lib/Numeric/GSL/Vector.hs +++ b/lib/Numeric/GSL/Vector.hs | |||
@@ -25,7 +25,7 @@ import Data.Packed.Internal.Common | |||
25 | import Data.Packed.Internal.Signatures | 25 | import Data.Packed.Internal.Signatures |
26 | import Data.Packed.Internal.Vector | 26 | import Data.Packed.Internal.Vector |
27 | 27 | ||
28 | import Complex | 28 | import Data.Complex |
29 | import Foreign | 29 | import Foreign |
30 | import Foreign.C.Types(CInt) | 30 | import Foreign.C.Types(CInt) |
31 | 31 | ||
diff --git a/lib/Numeric/LinearAlgebra/Instances.hs b/lib/Numeric/LinearAlgebra/Instances.hs index b17da5a..b4a769e 100644 --- a/lib/Numeric/LinearAlgebra/Instances.hs +++ b/lib/Numeric/LinearAlgebra/Instances.hs | |||
@@ -22,7 +22,7 @@ module Numeric.LinearAlgebra.Instances( | |||
22 | import Numeric.LinearAlgebra.Linear | 22 | import Numeric.LinearAlgebra.Linear |
23 | import Numeric.GSL.Vector | 23 | import Numeric.GSL.Vector |
24 | import Data.Packed.Matrix | 24 | import Data.Packed.Matrix |
25 | import Complex | 25 | import Data.Complex |
26 | import Data.List(transpose,intersperse) | 26 | import Data.List(transpose,intersperse) |
27 | import Foreign(Storable) | 27 | import Foreign(Storable) |
28 | -- import Data.Monoid | 28 | -- import Data.Monoid |