Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Oath
Documentation
hoistOath :: (STM a -> STM b) -> Oath a -> Oath b Source #
Apply a function to the inner computation that waits for the result.
tryOath :: Exception e => Oath a -> Oath (Either e a) Source #
Catch an exception thrown in the inner computation.