pandora-0.1.4: A box of patterns and paradigms
Pandora.Paradigm.Basis.Constant
newtype Constant a b Source #
Constructors
Defined in Pandora.Paradigm.Basis.Constant
Methods
(>$<) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
contramap :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>$) :: b -> Constant a b -> Constant a a0 Source #
($<) :: Constant a b -> b -> Constant a a0 Source #
full :: Constant a () -> Constant a a0 Source #
(>$$$<) :: (Contravariant u, Contravariant v) => (a0 -> b) -> Constant a (u (v b)) -> Constant a (u (v a0)) Source #
(<$>) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
comap :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<$) :: a0 -> Constant a b -> Constant a a0 Source #
($>) :: Constant a a0 -> b -> Constant a b Source #
void :: Constant a a0 -> Constant a () Source #
loeb :: Constant a (Constant a a0 -> a0) -> Constant a a0 Source #
(<$$>) :: Covariant u => (a0 -> b) -> Constant a (u a0) -> Constant a (u b) Source #
(<$$$>) :: (Covariant u, Covariant v) => (a0 -> b) -> Constant a (u (v a0)) -> Constant a (u (v b)) Source #
(<$$$$>) :: (Covariant u, Covariant v, Covariant w) => (a0 -> b) -> Constant a (u (v (w a0))) -> Constant a (u (v (w b))) Source #
invmap :: (a0 -> b) -> (b -> a0) -> Constant a a0 -> Constant a b Source #
(->>) :: (Pointable u, Applicative u) => Constant a a0 -> (a0 -> u b) -> (u :.: Constant a) b Source #
traverse :: (Pointable u, Applicative u) => (a0 -> u b) -> Constant a a0 -> (u :.: Constant a) b Source #
sequence :: (Pointable u, Applicative u) => (Constant a :.: u) a0 -> (u :.: Constant a) a0 Source #
(<>) :: Constant a b -> Constant a b -> Constant a b Source #
(><) :: Constant a b -> Constant a b -> Constant a b Source #
unit :: Constant a b Source #
inverse :: Constant a b -> Constant a b Source #
(\/) :: Constant a b -> Constant a b -> Constant a b Source #
(/\) :: Constant a b -> Constant a b -> Constant a b Source #
(==) :: Constant a b -> Constant a b -> Boolean Source #
(/=) :: Constant a b -> Constant a b -> Boolean Source #
(<=>) :: Constant a b -> Constant a b -> Ordering Source #
(<) :: Constant a b -> Constant a b -> Boolean Source #
(<=) :: Constant a b -> Constant a b -> Boolean Source #
(>) :: Constant a b -> Constant a b -> Boolean Source #
(>=) :: Constant a b -> Constant a b -> Boolean Source #