Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class LensFail e f | f -> e where Source #
alterErrors :: (e -> e) -> f a -> f a Source #
joinErrors :: f (f a) -> f a Source #
Instances
LensFail e (Validation e) Source # | |
Defined in Control.Lens.Error.Internal.LensFail fizzle :: e -> Validation e a Source # alterErrors :: (e -> e) -> Validation e a -> Validation e a Source # joinErrors :: Validation e (Validation e a) -> Validation e a Source # | |
LensFail e (Either e) Source # | |
LensFail e (Const (Validation e a) :: Type -> Type) Source # | |
Defined in Control.Lens.Error.Internal.LensFail fizzle :: e -> Const (Validation e a) a0 Source # alterErrors :: (e -> e) -> Const (Validation e a) a0 -> Const (Validation e a) a0 Source # joinErrors :: Const (Validation e a) (Const (Validation e a) a0) -> Const (Validation e a) a0 Source # | |
LensFail e (Const (Either e a) :: Type -> Type) Source # | |
Monoid a => LensFail e (Const (e, a) :: Type -> Type) Source # | |