Portability | Control.Exception |
---|---|
Stability | provisional |
Maintainer | Edward Kmett <[email protected]> |
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 :: (Applicative
f,Exception
a,Exception
b) => (a -> f b) ->SomeException
-> fSomeException