| Portability | Control.Exception |
|---|---|
| Stability | provisional |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Safe Haskell | Trustworthy |
Control.Exception.Lens
Description
- exception :: Exception a => Simple Prism SomeException a
Documentation
exception :: Exception a => Simple Prism SomeException aSource
Traverse the strongly typed Exception contained in SomeException where the type of your function matches
the desired Exception.
exception :: (Applicativef,Exceptiona,Exceptionb) => (a -> f b) ->SomeException-> fSomeException