1
0
forked from GitHub/gf-core

Eliminate warnings about deprecated use of catch and try

This is also needed for compatibility with GHC 7.6.
This commit is contained in:
hallgren
2012-11-08 15:53:46 +00:00
parent 1c0429c322
commit 63093c32f3
7 changed files with 29 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ module GF.Infra.SIO(
import Prelude hiding (putStrLn,print)
import Control.Monad(liftM)
import System.IO(Handle,hPutStrLn,hFlush,stdout)
import System.IO.Error(try)
import GF.System.Catch(try)
import System.Cmd(system)
import System.Environment(getEnv)
import Control.Concurrent.Chan(newChan,writeChan,getChanContents)