RosettaCodeData/Task/Exceptions/Haskell/exceptions-4.hs

5 lines
88 B
Haskell
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
do
{- do IO computations here -}
`catch` \ex -> do
{- handle exception "ex" here -}