[project @ 2001-07-31 14:34:23 by simonmar] add a couple of useful variants of catch & catchJust:
[project @ 2001-07-31 14:34:23 by simonmar]
add a couple of useful variants of catch & catchJust:

	handle	   :: (Exception -> IO a) -> IO a -> IO a
	handleJust :: (Exception -> Maybe b) -> (b -> IO a) -> IO a -> IO a

ghc-android/ghc,jstolarek/ghc,bitemyapp/ghc,GaloisInc/halvm-ghc,sdiehl/ghc,snoyberg/ghc,AlexanderPankiv/ghc,vikraman/ghc,ghc-android/ghc,TomMD/ghc,ml9951/ghc,gridaphobe/ghc,lukexi/ghc,tibbe/ghc,ml9951/ghc,sgillespie/ghc,siddhanathan/ghc,nushio3/ghc,mcschroeder/ghc,wxwxwwxxx/ghc,ezyang/ghc,gcampax/ghc,anton-dessiatov/ghc,gridaphobe/ghc,nathyong/microghc-ghc,siddhanathan/ghc,mettekou/ghc,olsner/ghc,GaloisInc/halvm-ghc,shlevy/ghc,nkaretnikov/ghc,lukexi/ghc,jstolarek/ghc,ryantm/ghc,vTurbine/ghc,sdiehl/ghc,shlevy/ghc,ezyang/ghc,mfine/ghc,acowley/ghc,olsner/ghc,nkaretnikov/ghc,spacekitteh/smcghc,green-haskell/ghc,nkaretnikov/ghc,tjakway/ghcjvm,vTurbine/ghc,nathyong/microghc-ghc,acowley/ghc,christiaanb/ghc,gcampax/ghc,elieux/ghc,sdiehl/ghc,da-x/ghc,mcschroeder/ghc,vikraman/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,ryantm/ghc,TomMD/ghc,siddhanathan/ghc,sdiehl/ghc,gridaphobe/ghc,mettekou/ghc,vTurbine/ghc,urbanslug/ghc,snoyberg/ghc,forked-upstream-packages-for-ghcjs/ghc,jstolarek/ghc,bitemyapp/ghc,wxwxwwxxx/ghc,jstolarek/ghc,siddhanathan/ghc,forked-upstream-packages-for-ghcjs/ghc,mettekou/ghc,green-haskell/ghc,wxwxwwxxx/ghc,nushio3/ghc,anton-dessiatov/ghc,green-haskell/ghc,mettekou/ghc,mcschroeder/ghc,mettekou/ghc,green-haskell/ghc,da-x/ghc,fmthoma/ghc,anton-dessiatov/ghc,urbanslug/ghc,tjakway/ghcjvm,anton-dessiatov/ghc,ryantm/ghc,vikraman/ghc,nkaretnikov/ghc,shlevy/ghc,vikraman/ghc,GaloisInc/halvm-ghc,TomMD/ghc,ml9951/ghc,olsner/ghc,da-x/ghc,ghc-android/ghc,ezyang/ghc,spacekitteh/smcghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,ml9951/ghc,shlevy/ghc,spacekitteh/smcghc,nushio3/ghc,mcschroeder/ghc,olsner/ghc,bitemyapp/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,vikraman/ghc,olsner/ghc,gcampax/ghc,oldmanmike/ghc,anton-dessiatov/ghc,lukexi/ghc,shlevy/ghc,christiaanb/ghc,sgillespie/ghc,acowley/ghc,sgillespie/ghc,urbanslug/ghc,gridaphobe/ghc,TomMD/ghc,vikraman/ghc,elieux/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,holzensp/ghc,AlexanderPankiv/ghc,shlevy/ghc,gcampax/ghc,ghc-android/ghc,olsner/ghc,siddhanathan/ghc,sgillespie/ghc,oldmanmike/ghc,shlevy/ghc,tibbe/ghc,ezyang/ghc,spacekitteh/smcghc,fmthoma/ghc,nathyong/microghc-ghc,tibbe/ghc,christiaanb/ghc,ghc-android/ghc,snoyberg/ghc,ezyang/ghc,elieux/ghc,snoyberg/ghc,gcampax/ghc,mettekou/ghc,acowley/ghc,nkaretnikov/ghc,urbanslug/ghc,forked-upstream-packages-for-ghcjs/ghc,AlexanderPankiv/ghc,lukexi/ghc,mfine/ghc,vTurbine/ghc,gcampax/ghc,acowley/ghc,nathyong/microghc-ghc,oldmanmike/ghc,bitemyapp/ghc,christiaanb/ghc,TomMD/ghc,nushio3/ghc,snoyberg/ghc,urbanslug/ghc,ezyang/ghc,vTurbine/ghc,oldmanmike/ghc,TomMD/ghc,sdiehl/ghc,ezyang/ghc,tibbe/ghc,mcschroeder/ghc,fmthoma/ghc,fmthoma/ghc,mcschroeder/ghc,ryantm/ghc,AlexanderPankiv/ghc,da-x/ghc,AlexanderPankiv/ghc,holzensp/ghc,da-x/ghc,gridaphobe/ghc,tjakway/ghcjvm,tibbe/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,vTurbine/ghc,da-x/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,holzensp/ghc,nushio3/ghc,frantisekfarka/ghc-dsi,mfine/ghc,anton-dessiatov/ghc,anton-dessiatov/ghc,mfine/ghc,holzensp/ghc,tjakway/ghcjvm,snoyberg/ghc,ml9951/ghc,siddhanathan/ghc,TomMD/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,nushio3/ghc,mfine/ghc,fmthoma/ghc,AlexanderPankiv/ghc,christiaanb/ghc,frantisekfarka/ghc-dsi,jstolarek/ghc,frantisekfarka/ghc-dsi,christiaanb/ghc,urbanslug/ghc,snoyberg/ghc,mfine/ghc,green-haskell/ghc,acowley/ghc,gridaphobe/ghc,sgillespie/ghc,vTurbine/ghc,nkaretnikov/ghc,gridaphobe/ghc,sdiehl/ghc,urbanslug/ghc,mcschroeder/ghc,AlexanderPankiv/ghc,ml9951/ghc,mfine/ghc,nathyong/microghc-ghc,elieux/ghc,acowley/ghc,fmthoma/ghc,frantisekfarka/ghc-dsi,frantisekfarka/ghc-dsi,oldmanmike/ghc,ml9951/ghc,da-x/ghc,elieux/ghc,ghc-android/ghc,vikraman/ghc,ryantm/ghc,sgillespie/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,oldmanmike/ghc,mettekou/ghc,siddhanathan/ghc,holzensp/ghc,olsner/ghc,lukexi/ghc,elieux/ghc,tjakway/ghcjvm,sdiehl/ghc,gcampax/ghc,bitemyapp/ghc,nushio3/ghc,elieux/ghc,fmthoma/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,nkaretnikov/ghc,ml9951/ghc