Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- data ErrorTrace t e = ErrorTrace {}
- etError :: Functor f => (e -> f e') -> ErrorTrace t e -> f (ErrorTrace t e')
- etTrace :: Functor f => ([Seq t] -> f [Seq t']) -> ErrorTrace t e -> f (ErrorTrace t' e)
Documentation
data ErrorTrace t e Source
A datatype containing an error and its provenience(s).
(Show t, Show e) => Show (ErrorTrace t e) | |
Generic (ErrorTrace t e) | |
Monoid e => Monoid (ErrorTrace t e) | |
(NFData t, NFData e) => NFData (ErrorTrace t e) | |
Typeable (* -> * -> *) ErrorTrace | |
type Rep (ErrorTrace t e) |
etError :: Functor f => (e -> f e') -> ErrorTrace t e -> f (ErrorTrace t e') Source
A lens
.ErrorTrace
t e → e
etTrace :: Functor f => ([Seq t] -> f [Seq t']) -> ErrorTrace t e -> f (ErrorTrace t' e) Source
A lens
.ErrorTrace
t e → Seq t