summaryrefslogtreecommitdiff
path: root/lib/GSL.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-09-28 07:37:49 +0000
committerAlberto Ruiz <aruiz@um.es>2007-09-28 07:37:49 +0000
commit74e7d42263b196c22d1f5da3d51beec69071600d (patch)
tree04dd5cd4ef4e22dfd114a6739c9ed39bdaf6f26b /lib/GSL.hs
parent0198366bba7a5f2d67338633f9eb90889ffc31b2 (diff)
save work
Diffstat (limited to 'lib/GSL.hs')
-rw-r--r--lib/GSL.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/GSL.hs b/lib/GSL.hs
index d65f8ff..f04cf26 100644
--- a/lib/GSL.hs
+++ b/lib/GSL.hs
@@ -20,6 +20,7 @@ module GSL (
20, module GSL.Minimization 20, module GSL.Minimization
21, module GSL.Special 21, module GSL.Special
22, module Complex 22, module Complex
23, setErrorHandlerOff
23) where 24) where
24 25
25import GSL.Integration 26import GSL.Integration
@@ -30,3 +31,8 @@ import GSL.Polynomials
30import GSL.Minimization 31import GSL.Minimization
31import Complex 32import Complex
32import GSL.Special 33import GSL.Special
34
35
36-- | This action removes the GSL default error handler (which aborts the program), so that
37-- GSL errors can be handled by Haskell (using Control.Exception) and ghci doesn't abort.
38foreign import ccall "GSL/gsl-aux.h no_abort_on_error" setErrorHandlerOff :: IO ()