1
0
forked from GitHub/gf-core
Files
gf-core/src/compiler/GF/System/Catch.hs
2013-11-12 13:51:11 +00:00

13 lines
273 B
Haskell

-- | Isolate backwards incompatible library changes to 'catch' and 'try'
{-# LANGUAGE CPP #-}
module GF.System.Catch where
import qualified System.IO.Error as S
#if MIN_VERSION_base(4,4,0)
catch = S.catchIOError
try = S.tryIOError
#else
catch = S.catch
try = S.try
#endif