diff options
| author | Krasimir Angelov <kr.angelov@gmail.com> | 2017-08-18 21:27:40 +0200 |
|---|---|---|
| committer | Krasimir Angelov <kr.angelov@gmail.com> | 2017-08-18 21:27:40 +0200 |
| commit | 0a3b822313cc664cef860b39ec74c21e0d00475b (patch) | |
| tree | 5994c67ad1d79820d18451518265de5c91c60b30 /src/compiler/GF/System/Catch.hs | |
| parent | 1f3c9d0b1736daa979e195bc07d971421768e4ad (diff) | |
| parent | 0a0eaa01bcbe9574bb86a6470ca5139fbd32a9d3 (diff) | |
????
Merge branch 'master' of www.grammaticalframework.org:/usr/local/www/GF
Diffstat (limited to 'src/compiler/GF/System/Catch.hs')
| -rw-r--r-- | src/compiler/GF/System/Catch.hs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/compiler/GF/System/Catch.hs b/src/compiler/GF/System/Catch.hs index f69934af5..11fae1a7b 100644 --- a/src/compiler/GF/System/Catch.hs +++ b/src/compiler/GF/System/Catch.hs @@ -1,13 +1,7 @@ --- | Isolate backwards incompatible library changes to 'catch' and 'try' -{-# LANGUAGE CPP #-} +-- | Backwards compatible 'catch' and 'try' 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 -#else -catch = S.catch -try = S.try -#endif |
