RosettaCodeData/Task/Exceptions/Haskell/exceptions-4.hs
2023-07-01 13:44:08 -04:00

4 lines
88 B
Haskell

do
{- do IO computations here -}
`catch` \ex -> do
{- handle exception "ex" here -}