The web pages for the module Exception at http://www.haskel.org/ghc/ show a wrong type for catch: catch :: IO a -> (Exception -> IO a) -> IO a instead of catch, -- :: (Exception -> Maybe b) -> a -> (b -> IO a) -> IO a Furthermore, the page mentions catchJust, which doesn't exist in lang/Exception.lhs. The file version is $Id: Exception.lhs,v 1.11.2.1 2000/06/19 09:41:11. There's no hint at that you should be using IO.catch anyway,either ;). -- Volker Stolz * [EMAIL PROTECTED] * PGP + S/MIME _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
