| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Instance.Span
Documentation
newtype SPAN k Source Github #
Constructors
| SP k |
Instances
data Span (a :: SPAN k) (b :: SPAN k) where Source Github #
Constructors
| Span :: forall {k} (c :: k) (a1 :: k) (b1 :: k). (c ~> a1) -> (c ~> b1) -> Span ('SP a1) ('SP b1) |
Instances
| HasPullbacks k => DaggerProfunctor (Span :: SPAN k -> SPAN k -> Type) Source Github # | |
| HasPullbacks k => Promonad (Span :: SPAN k -> SPAN k -> Type) Source Github # | |
| HasPullbacks k => MonoidalProfunctor (Span :: SPAN k -> SPAN k -> Type) Source Github # | |
| HasPullbacks k => Profunctor (Span :: SPAN k -> SPAN k -> Type) Source Github # | |
Defined in Proarrow.Category.Instance.Span Methods dimap :: forall (c :: SPAN k) (a :: SPAN k) (b :: SPAN k) (d :: SPAN k). (c ~> a) -> (b ~> d) -> Span a b -> Span c d Source Github # lmap :: forall (c :: SPAN k) (a :: SPAN k) (b :: SPAN k). (c ~> a) -> Span a b -> Span c b Source Github # rmap :: forall (b :: SPAN k) (d :: SPAN k) (a :: SPAN k). (b ~> d) -> Span a b -> Span a d Source Github # (\\) :: forall (a :: SPAN k) (b :: SPAN k) r. ((Ob a, Ob b) => r) -> Span a b -> r Source Github # | |