Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
data Simplex (a :: Nat) (b :: Nat) where Source Comments #
ZZ :: Simplex 'Z 'Z | |
Y :: forall (a :: Nat) (y :: Nat). Simplex a y -> Simplex a ('S y) | |
X :: forall (x :: Nat) (y :: Nat). Simplex x ('S y) -> Simplex ('S x) ('S y) |
Instances
Promonad Simplex Source Comments # | |
MonoidalProfunctor Simplex Source Comments # | |
Profunctor Simplex Source Comments # | |
CategoryOf (Simplex j k) Source Comments # | |
Defined in Proarrow.Category.Instance.Simplex | |
Promonad (BiSimplex :: Simplex j k -> Simplex j k -> Type) Source Comments # | |
Profunctor (BiSimplex :: Simplex j k -> Simplex j k -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Simplex | |
type (~>) Source Comments # | |
type Ob (a :: Simplex j k) Source Comments # | |
Defined in Proarrow.Category.Instance.Simplex |
data Forget a (b :: Nat) where Source Comments #
Instances
Profunctor Forget Source Comments # | |||||
Representable Forget Source Comments # | |||||
Defined in Proarrow.Category.Instance.Simplex
| |||||
type Forget % (n :: Nat) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Simplex |
associator' :: forall (a :: Nat) (b :: Nat) (c :: Nat). SNat a -> SNat b -> Obj c -> Simplex ((a + b) + c) (a + (b + c)) Source Comments #
associatorInv' :: forall (a :: Nat) (b :: Nat) (c :: Nat). SNat a -> SNat b -> Obj c -> Simplex (a + (b + c)) ((a + b) + c) Source Comments #
data Replicate (m :: k) (a :: k) (b :: Nat) where Source Comments #
Replicate :: forall {k} (b :: Nat) (a :: k) (m :: k). Ob b => (a ~> (Replicate m % b)) -> Replicate m a b |
Instances
Monoid m => Profunctor (Replicate m :: j -> Nat -> Type) Source Comments # | |
Monoid m => Representable (Replicate m :: k -> Nat -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Simplex index :: forall (a :: k) (b :: Nat). Replicate m a b -> a ~> (Replicate m % b) Source Comments # tabulate :: forall (b :: Nat) (a :: k). Ob b => (a ~> (Replicate m % b)) -> Replicate m a b Source Comments # repMap :: forall (a :: Nat) (b :: Nat). (a ~> b) -> (Replicate m % a) ~> (Replicate m % b) Source Comments # | |
type (Replicate m :: k -> Nat -> Type) % 'Z Source Comments # | |
type (Replicate m :: k -> Nat -> Type) % ('S b :: Nat) Source Comments # | |
type family LT (j :: Nat) (k :: Nat) (f :: Simplex j k) (g :: Simplex j k) where ... Source Comments #
data BiSimplex (f :: Simplex j k) (g :: Simplex j k) where Source Comments #
ZZZ :: BiSimplex 'ZZ 'ZZ | |
YYY :: forall {j :: Nat} {k1 :: Nat} (f1 :: Simplex j k1) (g1 :: Simplex j k1). BiSimplex f1 g1 -> BiSimplex ('Y f1) ('Y g1) | |
XXX :: forall {j1 :: Nat} {y :: Nat} (f1 :: Simplex j1 ('S y)) (g1 :: Simplex j1 ('S y)). BiSimplex f1 g1 -> BiSimplex ('X f1) ('X g1) |
type family SimplexO (f :: Simplex i j) (g :: Simplex j k) :: Simplex i k Source Comments #
Instances
type SimplexO (f :: Simplex i 'Z) 'ZZ Source Comments # | |
Defined in Proarrow.Category.Instance.Simplex | |
type SimplexO (f :: Simplex x j) ('Y g :: Simplex j ('S y)) Source Comments # | |
type SimplexO ('Y f :: Simplex i ('S j)) ('X g :: Simplex ('S j) ('S y)) Source Comments # | |
type SimplexO ('X f :: Simplex ('S x1) ('S x2)) ('X g :: Simplex ('S x2) ('S y)) Source Comments # | |