| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Instance.IntConstruction
Documentation
Constructors
| I k k |
Instances
data IntConstruction (a :: INT k) (b :: INT k) where Source Comments #
Constructors
| Int :: forall {k} (ap :: k) (am :: k) (bp :: k) (bm :: k). (Ob ap, Ob am, Ob bp, Ob bm) => ((ap ** bm) ~> (am ** bp)) -> IntConstruction ('I ap am) ('I bp bm) |
Instances
| TracedMonoidal k => Promonad (IntConstruction :: INT k -> INT k -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.IntConstruction Methods id :: forall (a :: INT k). Ob a => IntConstruction a a Source Comments # (.) :: forall (b :: INT k) (c :: INT k) (a :: INT k). IntConstruction b c -> IntConstruction a b -> IntConstruction a c Source Comments # | |
| TracedMonoidal' k => MonoidalProfunctor (IntConstruction :: INT k -> INT k -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.IntConstruction | |
| TracedMonoidal k => Profunctor (IntConstruction :: INT k -> INT k -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.IntConstruction | |
toInt :: forall {k} (a :: k) (b :: k). TracedMonoidal' k => (a ~> b) -> 'I a (Unit :: k) ~> 'I b (Unit :: k) Source Comments #
isoToInt :: forall {k} (a :: k) (b :: k). TracedMonoidal k => (a ~> b) -> (b ~> a) -> 'I a a ~> 'I b b Source Comments #
fromInt :: forall {k} (a :: k) (b :: k) (m :: k). TracedMonoidal k => ('I a m ~> 'I b m) -> a ~> b Source Comments #
class (TracedMonoidal k, Ob (Unit :: k)) => TracedMonoidal' k Source Comments #
Instances
| (TracedMonoidal k, Ob (Unit :: k)) => TracedMonoidal' k Source Comments # | |
Defined in Proarrow.Category.Instance.IntConstruction | |