Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data DayUnit (a :: k) (b :: k1) where Source Comments #
DayUnit :: forall {k} {k1} (a :: k) (b :: k1). (a ~> (Unit :: k)) -> ((Unit :: k1) ~> b) -> DayUnit a b |
Instances
(CategoryOf j, CategoryOf k) => Profunctor (DayUnit :: j -> k -> Type) Source Comments # | |
data Day (p :: k -> k1 -> Type) (q :: k -> k1 -> Type) (a :: k) (b :: k1) where Source Comments #
Day :: forall {k} {k1} (c :: k) (d :: k1) (e :: k) (f :: k1) (p :: k -> k1 -> Type) (q :: k -> k1 -> Type) (a :: k) (b :: k1). (a ~> (c ** e)) -> p c d -> q e f -> ((d ** f) ~> b) -> Day p q a b |
Instances
(SymMonoidal j, SymMonoidal k, MonoidalProfunctor p, MonoidalProfunctor q) => MonoidalProfunctor (Day p q :: j -> k -> Type) Source Comments # | |
(Profunctor p, Profunctor q) => Profunctor (Day p q :: j -> k -> Type) Source Comments # | |
Functor (Day :: (k1 -> k2 -> Type) -> (k1 -> k2 -> Type) -> k1 -> k2 -> Type) Source Comments # | |
Profunctor p => Functor (Day p :: (k1 -> k2 -> Type) -> k1 -> k2 -> Type) Source Comments # | |
duoidal :: forall {i1} k i2 (p :: PRO i2 k) (p' :: PRO k i1) (q :: PRO i2 k) (q' :: PRO k i1). (Monoidal k, Profunctor p, Profunctor p', Profunctor q, Profunctor q') => Day (p :.: p') (q :.: q') ~> (Day p q :.: Day p' q') Source Comments #
data DayExp (p :: k -> k1 -> Type) (q :: k -> k1 -> Type) (a :: k) (b :: k1) where Source Comments #
DayExp :: forall {k} {k1} (p :: k -> k1 -> Type) (q :: k -> k1 -> Type) (a :: k) (b :: k1). (Ob a, Ob b) => (forall (c :: k) (d :: k1) (e :: k) (f :: k1). (e ~> (a ** c)) -> ((b ** d) ~> f) -> p c d -> q e f) -> DayExp p q a b |
Instances
(Monoidal j, Monoidal k, Profunctor p, Profunctor q) => Profunctor (DayExp p q :: j -> k -> Type) Source Comments # | |
multDayExp :: forall j k (p :: PRO j k) (q :: PRO j k) (p' :: PRO j k) (q' :: PRO j k). (SymMonoidal j, SymMonoidal k, Profunctor p, Profunctor q, Profunctor p', Profunctor q') => Day (p ~~> q) (p' ~~> q') ~> (Day p p' ~~> Day q q') Source Comments #
Orphan instances
(Monoidal j, Monoidal k) => Monoidal (PRO j k) Source Comments # | |||||
leftUnitor :: forall (a :: PRO j k). Ob a => ((Unit :: PRO j k) ** a) ~> a Source Comments # leftUnitorInv :: forall (a :: PRO j k). Ob a => a ~> ((Unit :: PRO j k) ** a) Source Comments # rightUnitor :: forall (a :: PRO j k). Ob a => (a ** (Unit :: PRO j k)) ~> a Source Comments # rightUnitorInv :: forall (a :: PRO j k). Ob a => a ~> (a ** (Unit :: PRO j k)) Source Comments # associator :: forall (a :: PRO j k) (b :: PRO j k) (c :: PRO j k). (Ob a, Ob b, Ob c) => ((a ** b) ** c) ~> (a ** (b ** c)) Source Comments # associatorInv :: forall (a :: PRO j k) (b :: PRO j k) (c :: PRO j k). (Ob a, Ob b, Ob c) => (a ** (b ** c)) ~> ((a ** b) ** c) Source Comments # | |||||
(SymMonoidal j, SymMonoidal k) => SymMonoidal (PRO j k) Source Comments # | |||||
(Monoidal j, Monoidal k) => Distributive (PRO j k) Source Comments # | |||||
distL :: forall (a :: PRO j k) (b :: PRO j k) (c :: PRO j k). (Ob a, Ob b, Ob c) => (a ** (b || c)) ~> ((a ** b) || (a ** c)) Source Comments # distR :: forall (a :: PRO j k) (b :: PRO j k) (c :: PRO j k). (Ob a, Ob b, Ob c) => ((a || b) ** c) ~> ((a ** c) || (b ** c)) Source Comments # distL0 :: forall (a :: PRO j k). Ob a => (a ** (InitialObject :: PRO j k)) ~> (InitialObject :: PRO j k) Source Comments # distR0 :: forall (a :: PRO j k). Ob a => ((InitialObject :: PRO j k) ** a) ~> (InitialObject :: PRO j k) Source Comments # | |||||
(Monoidal j, Monoidal k) => Closed (PRO j k) Source Comments # | |||||
curry' :: forall (a :: PRO j k) (b :: PRO j k) (c :: PRO j k). Obj a -> Obj b -> ((a ** b) ~> c) -> a ~> (b ~~> c) Source Comments # uncurry' :: forall (b :: PRO j k) (c :: PRO j k) (a :: PRO j k). Obj b -> Obj c -> (a ~> (b ~~> c)) -> (a ** b) ~> c Source Comments # (^^^) :: forall (b :: PRO j k) (y :: PRO j k) (x :: PRO j k) (a :: PRO j k). (b ~> y) -> (x ~> a) -> (a ~~> b) ~> (x ~~> y) Source Comments # | |||||
(Profunctor p, MonoidalProfunctor p) => Monoid (p :: PRO k j) Source Comments # | |||||
(Monoidal j, Monoidal k) => MonoidalProfunctor (Prof :: (j +-> k) -> (j +-> k) -> Type) Source Comments # | |||||