| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Profunctor.Fold
Documentation
data Fold (a :: k) (b :: k) where Source Comments #
Constructors
| Fold :: forall {k} (m :: k) (b :: k) (a :: k). Ob m => (m ~> b) -> (a ~> m) -> ((m ** m) ~> m) -> ((Unit :: k) ~> m) -> Fold a b |
Instances
| ProdAction k => Costrong k (Fold :: k -> k -> Type) Source Comments # | |
| SymMonoidal k => MonoidalProfunctor (Fold :: k -> k -> Type) Source Comments # | |
| CategoryOf k => Profunctor (Fold :: k -> k -> Type) Source Comments # | |
| Corepresentable (Fold :: Type -> Type -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Fold Methods coindex :: Fold a b -> ((Fold :: Type -> Type -> Type) %% a) ~> b Source Comments # cotabulate :: Ob a => (((Fold :: Type -> Type -> Type) %% a) ~> b) -> Fold a b Source Comments # corepMap :: (a ~> b) -> ((Fold :: Type -> Type -> Type) %% a) ~> ((Fold :: Type -> Type -> Type) %% b) Source Comments # | |
| (CoprodAction k, BiCCC k) => Strong (COPROD k) (Fold :: k -> k -> Type) Source Comments # | |
| CategoryOf k => Procomonad (Fold :: k -> k -> Type) Source Comments # | |
| type (Fold :: Type -> Type -> Type) %% (a :: Type) Source Comments # | |