Web docs show wrong type for catch in module Exception
Volker Stolz
stolz at I2.Informatik.RWTH-Aachen.DE
Fri Oct 13 05:34:11 EDT 2000
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 * stolz at i2.informatik.rwth-aachen.de * PGP + S/MIME
More information about the Glasgow-haskell-bugs
mailing list