summaryrefslogtreecommitdiff
path: root/src/compiler/GF/System
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-11-10 16:20:01 +0000
committerhallgren <hallgren@chalmers.se>2014-11-10 16:20:01 +0000
commitc707575bd7751ac3b03371edba478e37d3488448 (patch)
tree4d16d9dabed27b5d977d3d4d84a4bb317dff4a4a /src/compiler/GF/System
parent33571ba44f2a42502722a3b025b448efe1f0ab88 (diff)
Documentation improvements and cleanup relating to the IOE monad
Renamed appIOE to tryIOE (it is analogous to 'try' in the standard libraries). Removed unused IOE operations & documented the remaining ones. Removed/simplified superfluous uses of IOE operations.
Diffstat (limited to 'src/compiler/GF/System')
-rw-r--r--src/compiler/GF/System/Catch.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/GF/System/Catch.hs b/src/compiler/GF/System/Catch.hs
index 950774947..f69934af5 100644
--- a/src/compiler/GF/System/Catch.hs
+++ b/src/compiler/GF/System/Catch.hs
@@ -3,6 +3,7 @@
module GF.System.Catch where
import qualified System.IO.Error as S
+-- ** Backwards compatible try and catch
#if MIN_VERSION_base(4,4,0)
catch = S.catchIOError
try = S.tryIOError