definition: |
catch :: IO a -> (IOError -> IO a) -> IO a |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
Catches a possible error or failure during the execution of an I/O action. `catch act errfun` executes the I/O action `act`. If an exception or failure occurs during this I/O action, the function `errfun` is applied to the error value. |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_,_) |-> _} |
name: |
catch |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
IO a -> (IOError -> IO a) -> IO a |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |