Commit f10ab6ce authored by ross's avatar ross
Browse files

[project @ 2005-01-11 14:34:07 by ross]

tweak System.IO imports
parent 7a78a715
......@@ -6,7 +6,7 @@ import Foreign.C
import Control.Exception
import System.IO.Unsafe
import Prelude hiding (read)
import System.IO hiding (bracket)
import System.IO (hFlush, stdout)
main = do
......
......@@ -2,7 +2,6 @@ module Main where
import Prelude hiding (catch)
import Control.Exception
import System.IO hiding (try, catch)
main = do
ioTest
......
user exception caught
error call caught
no method error
exceptions001.hs:39:0-12: Non-exhaustive patterns in function test1
exceptions001.hs:46:0-25: Non-exhaustive patterns in function test2
exceptions001.hs:38:0-12: Non-exhaustive patterns in function test1
exceptions001.hs:45:0-25: Non-exhaustive patterns in function test2
43
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment