pandora-0.2.7: A box of patterns and paradigms
Pandora.Paradigm.Primary.Functor.Validation
data Validation e a Source #
Constructors
Defined in Pandora.Paradigm.Primary.Functor.Validation
Methods
(<->) :: (a -> b) -> (c -> d) -> Validation a c -> Validation b d Source #
bimap :: (a -> b) -> (c -> d) -> Validation a c -> Validation b d Source #
(<$>) :: (a -> b) -> Validation e a -> Validation e b Source #
comap :: (a -> b) -> Validation e a -> Validation e b Source #
(<$) :: a -> Validation e b -> Validation e a Source #
($>) :: Validation e a -> b -> Validation e b Source #
void :: Validation e a -> Validation e () Source #
loeb :: Validation e (a <-| Validation e) -> Validation e a Source #
(<&>) :: Validation e a -> (a -> b) -> Validation e b Source #
(<$$>) :: Covariant u => (a -> b) -> ((Validation e :. u) := a) -> (Validation e :. u) := b Source #
(<$$$>) :: (Covariant u, Covariant v) => (a -> b) -> ((Validation e :. (u :. v)) := a) -> (Validation e :. (u :. v)) := b Source #
(<$$$$>) :: (Covariant u, Covariant v, Covariant w) => (a -> b) -> ((Validation e :. (u :. (v :. w))) := a) -> (Validation e :. (u :. (v :. w))) := b Source #
(<&&>) :: Covariant u => ((Validation e :. u) := a) -> (a -> b) -> (Validation e :. u) := b Source #
(<&&&>) :: (Covariant u, Covariant v) => ((Validation e :. (u :. v)) := a) -> (a -> b) -> (Validation e :. (u :. v)) := b Source #
(<&&&&>) :: (Covariant u, Covariant v, Covariant w) => ((Validation e :. (u :. (v :. w))) := a) -> (a -> b) -> (Validation e :. (u :. (v :. w))) := b Source #
(<*>) :: Validation e (a -> b) -> Validation e a -> Validation e b Source #
apply :: Validation e (a -> b) -> Validation e a -> Validation e b Source #
(*>) :: Validation e a -> Validation e b -> Validation e b Source #
(<*) :: Validation e a -> Validation e b -> Validation e a Source #
forever :: Validation e a -> Validation e b Source #
(<**>) :: Applicative u => ((Validation e :. u) := (a -> b)) -> ((Validation e :. u) := a) -> (Validation e :. u) := b Source #
(<***>) :: (Applicative u, Applicative v) => ((Validation e :. (u :. v)) := (a -> b)) -> ((Validation e :. (u :. v)) := a) -> (Validation e :. (u :. v)) := b Source #
(<****>) :: (Applicative u, Applicative v, Applicative w) => ((Validation e :. (u :. (v :. w))) := (a -> b)) -> ((Validation e :. (u :. (v :. w))) := a) -> (Validation e :. (u :. (v :. w))) := b Source #
(<+>) :: Validation e a -> Validation e a -> Validation e a Source #
alter :: Validation e a -> Validation e a -> Validation e a Source #
point :: a |-> Validation e Source #
(->>) :: (Pointable u, Applicative u) => Validation e a -> (a -> u b) -> (u :. Validation e) := b Source #
traverse :: (Pointable u, Applicative u) => (a -> u b) -> Validation e a -> (u :. Validation e) := b Source #
sequence :: (Pointable u, Applicative u) => ((Validation e :. u) := a) -> (u :. Validation e) := a Source #
(->>>) :: (Pointable u, Applicative u, Traversable v) => ((v :. Validation e) := a) -> (a -> u b) -> (u :. (v :. Validation e)) := b Source #
(->>>>) :: (Pointable u, Applicative u, Traversable v, Traversable w) => ((w :. (v :. Validation e)) := a) -> (a -> u b) -> (u :. (w :. (v :. Validation e))) := b Source #
(->>>>>) :: (Pointable u, Applicative u, Traversable v, Traversable w, Traversable j) => ((j :. (w :. (v :. Validation e))) := a) -> (a -> u b) -> (u :. (j :. (w :. (v :. Validation e)))) := b Source #
(+) :: Validation e a -> Validation e a -> Validation e a Source #
(==) :: Validation e a -> Validation e a -> Boolean Source #
(/=) :: Validation e a -> Validation e a -> Boolean Source #
(<=>) :: Validation e a -> Validation e a -> Ordering Source #
(<) :: Validation e a -> Validation e a -> Boolean Source #
(<=) :: Validation e a -> Validation e a -> Boolean Source #
(>) :: Validation e a -> Validation e a -> Boolean Source #
(>=) :: Validation e a -> Validation e a -> Boolean Source #