lens-1.1.1: Families of Lenses, Folds and Traversals

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Infered

Control.Exception.Lens

Description

 

Synopsis

Documentation

traverseException :: (Exception a, Exception b) => Traversal SomeException SomeException a bSource

Traverse the strongly typed Exception contained in SomeException where the type of your function matches the desired Exception.

 traverseException :: (Applicative f, Exception a, Exception b)
                   => (a -> f b) -> SomeException -> f SomeException