Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Bitraversable Valid Source # | |
Defined in Data.Valid bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Valid a b -> f (Valid c d) # | |
Bifoldable Valid Source # | |
Bifunctor Valid Source # | |
Eq2 Valid Source # | |
Functor (Valid e) Source # | |
Semigroup e => Applicative (Valid e) Source # | |
Foldable (Valid e) Source # | |
Defined in Data.Valid fold :: Monoid m => Valid e m -> m # foldMap :: Monoid m => (a -> m) -> Valid e a -> m # foldr :: (a -> b -> b) -> b -> Valid e a -> b # foldr' :: (a -> b -> b) -> b -> Valid e a -> b # foldl :: (b -> a -> b) -> b -> Valid e a -> b # foldl' :: (b -> a -> b) -> b -> Valid e a -> b # foldr1 :: (a -> a -> a) -> Valid e a -> a # foldl1 :: (a -> a -> a) -> Valid e a -> a # elem :: Eq a => a -> Valid e a -> Bool # maximum :: Ord a => Valid e a -> a # minimum :: Ord a => Valid e a -> a # | |
Traversable (Valid e) Source # | |
(Eq e, Eq a) => Eq (Valid e a) Source # | |
(Read e, Read a) => Read (Valid e a) Source # | |
(Show e, Show a) => Show (Valid e a) Source # | |
fromEither :: Either e a -> Valid e a Source #