| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Instance.Simplex
Documentation
Instances
class ((a + 'Z) ~ a, (a + 'S b) ~ 'S (a + b), ((a + b) + c) ~ (a + (b + c))) => Rules (a :: Nat) (b :: Nat) (c :: Nat) 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) |