Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Category.Instance.Simplex
Documentation
Instances
class ((a + 'Z) ~ a, forall (b :: Nat) (c :: Nat). Assoc a b c) => IsNat (a :: Nat) where Source Comments #
data Simplex (a :: Nat) (b :: Nat) where Source Comments #
Constructors
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) |
data Forget a (b :: Nat) where Source Comments #
Instances
Profunctor Forget Source Comments # | |||||
Representable Forget Source Comments # | |||||
Defined in Proarrow.Category.Instance.Simplex Associated Types
| |||||
type Forget % (n :: Nat) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Simplex |
data Replicate (m :: k) (a :: k) (b :: Nat) where Source Comments #
Constructors
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 Methods 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 # | |