summaryrefslogtreecommitdiff
path: root/packages/gsl/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gsl/src')
-rw-r--r--packages/gsl/src/Numeric/GSL/Fitting.hs4
-rw-r--r--packages/gsl/src/Numeric/GSL/Random.hs5
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/gsl/src/Numeric/GSL/Fitting.hs b/packages/gsl/src/Numeric/GSL/Fitting.hs
index 9a2f665..8f2eae3 100644
--- a/packages/gsl/src/Numeric/GSL/Fitting.hs
+++ b/packages/gsl/src/Numeric/GSL/Fitting.hs
@@ -1,3 +1,4 @@
1{-# LANGUAGE CPP #-}
1{-# LANGUAGE FlexibleContexts #-} 2{-# LANGUAGE FlexibleContexts #-}
2 3
3{- | 4{- |
@@ -58,6 +59,9 @@ import Numeric.GSL.Internal
58import Foreign.Ptr(FunPtr, freeHaskellFunPtr) 59import Foreign.Ptr(FunPtr, freeHaskellFunPtr)
59import Foreign.C.Types 60import Foreign.C.Types
60import System.IO.Unsafe(unsafePerformIO) 61import System.IO.Unsafe(unsafePerformIO)
62#if MIN_VERSION_base(4,11,0)
63import Prelude hiding ((<>))
64#endif
61 65
62------------------------------------------------------------------------- 66-------------------------------------------------------------------------
63 67
diff --git a/packages/gsl/src/Numeric/GSL/Random.hs b/packages/gsl/src/Numeric/GSL/Random.hs
index aad9ad9..20a6c31 100644
--- a/packages/gsl/src/Numeric/GSL/Random.hs
+++ b/packages/gsl/src/Numeric/GSL/Random.hs
@@ -1,3 +1,4 @@
1{-# LANGUAGE CPP #-}
1----------------------------------------------------------------------------- 2-----------------------------------------------------------------------------
2-- | 3-- |
3-- Module : Numeric.GSL.Random 4-- Module : Numeric.GSL.Random
@@ -30,7 +31,9 @@ import Numeric.LinearAlgebra.HMatrix hiding (
30 randn 31 randn
31 ) 32 )
32import System.Random(randomIO) 33import System.Random(randomIO)
33 34#if MIN_VERSION_base(4,11,0)
35import Prelude hiding ((<>))
36#endif
34 37
35type Seed = Int 38type Seed = Int
36 39