|
definition: |
escapePR :: PR a -> ([PError] -> IO a) -> IO a escapePR (OK x) _ = return x escapePR (Errors e) f = f e |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Escape the error monad, basically a catch |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({OK},_) |-> _ || ({Errors},_) |-> _}
|
|
name: |
escapePR |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
PR a -> ([PError] -> Prelude.IO a) -> Prelude.IO a |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |