Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Control.Exception.Pure
Description
Catch exceptions produced in pure code
Synopsis
- catchPureErrors :: a -> IO (Either String a)
- catchPureErrorsSafe :: a -> IO (Either String a)
Documentation
catchPureErrors :: a -> IO (Either String a) Source #
Evaluate to weak head normal form and catch exceptions which can be raised by errors in pure computation. See also the Test.ChasingBottoms.IsBottom module in ChasingBottoms package.