diff options
Diffstat (limited to 'src/GF/System/NoSignal.hs')
| -rw-r--r-- | src/GF/System/NoSignal.hs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/GF/System/NoSignal.hs b/src/GF/System/NoSignal.hs new file mode 100644 index 000000000..3c2fc6e29 --- /dev/null +++ b/src/GF/System/NoSignal.hs @@ -0,0 +1,21 @@ +---------------------------------------------------------------------- +-- | +-- Module : GF.System.NoSignal +-- Maintainer : Bjorn Bringert +-- Stability : (stability) +-- Portability : (portability) +-- +-- > CVS $Date: 2005/11/11 11:12:50 $ +-- > CVS $Author: bringert $ +-- > CVS $Revision: 1.1 $ +-- +-- Dummy implementation of signal handling. +----------------------------------------------------------------------------- + +module GF.System.NoSignal where + +import Control.Exception (Exception) + +{-# NOINLINE runInterruptibly #-} +runInterruptibly :: IO a -> IO (Either Exception a) +runInterruptibly = fmap Right |
