Pandora.Paradigm.Primary.Functor.Constant
newtype Constant a b Source #
Constructors
Defined in Pandora.Paradigm.Primary.Functor.Constant
Methods
(<!<) :: (a0 -> b) -> (b -> a0) -> Constant a a0 -> Constant a b Source #
invmap :: (a0 -> b) -> (b -> a0) -> Constant a a0 -> Constant a b Source #
(<-|-) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|--) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|---) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|----) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|-----) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|------) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|-------) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|--------) :: (a -> b0) -> Flip Constant b a -> Flip Constant b b0 Source #
(<-|-|-) :: (Covariant (->) (Betwixt (->) (->)) u, Covariant (Betwixt (->) (->)) (->) (Flip Constant b)) => (a -> b0) -> Flip Constant b (u a) -> Flip Constant b (u b0) Source #
(<-|-|-|-) :: (Covariant (->) (Betwixt (->) (Betwixt (->) (->))) v, Covariant (Betwixt (->) (Betwixt (->) (->))) (Betwixt (Betwixt (->) (->)) (->)) u, Covariant (Betwixt (Betwixt (->) (->)) (->)) (->) (Flip Constant b)) => (a -> b0) -> Flip Constant b (u (v a)) -> Flip Constant b (u (v b0)) Source #
(<-|-) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|--) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|---) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|----) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|-----) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|------) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|-------) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|--------) :: (a0 -> b) -> Constant a a0 -> Constant a b Source #
(<-|-|-) :: (Covariant (->) (Betwixt (->) (->)) u, Covariant (Betwixt (->) (->)) (->) (Constant a)) => (a0 -> b) -> Constant a (u a0) -> Constant a (u b) Source #
(<-|-|-|-) :: (Covariant (->) (Betwixt (->) (Betwixt (->) (->))) v, Covariant (Betwixt (->) (Betwixt (->) (->))) (Betwixt (Betwixt (->) (->)) (->)) u, Covariant (Betwixt (Betwixt (->) (->)) (->)) (->) (Constant a)) => (a0 -> b) -> Constant a (u (v a0)) -> Constant a (u (v b)) Source #
(>-|-) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|--) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|---) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|----) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|-----) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|------) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|-------) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|--------) :: (a0 -> b) -> Constant a b -> Constant a a0 Source #
(>-|-|-) :: (Contravariant (->) (Betwixt (->) (->)) u, Contravariant (Betwixt (->) (->)) (->) (Constant a)) => (a0 -> b) -> Constant a (u a0) -> Constant a (u b) Source #
(+) :: Constant a b -> Constant a b -> Constant a b Source #
(*) :: Constant a b -> Constant a b -> Constant a b Source #
zero :: Constant a b Source #
one :: Constant a b Source #
invert :: 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 -> 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 #