HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleprofunctors-5.6.3Haskell2010

Data.Profunctor.Composition

  • 2 types
  • 11 values
  • Packageprofunctors-5.6.3
  • Exports13
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceComposition.hs

Profunctor Composition

2 declarations
datadata Procompose (p :: k -> k1 -> Type) (q :: k2 -> k -> Type) (d :: k2) (c :: k1) where
#

Procompose p q is the Profunctor composition of the Profunctors p and q.

For a good explanation of Profunctor composition in Haskell see Dan Piponi's article:

http://blog.sigfpe.com/2011/07/profunctors-in-haskell.html

Procompose has a polymorphic kind since 5.6.

Constructors

Instances17ProfunctorFunctor, ProfunctorMonad, ProfunctorAdjunction, Choice, Closed, Mapping, …

Unitors and Associator

3 declarations

Categories as monoid objects

2 declarations

Generalized Composition

4 declarations

Right Kan Lift

2 declarations
newtypenewtype Rift (p :: k -> k1 -> Type) (q :: k2 -> k1 -> Type) (a :: k2) (b :: k)
#

This represents the right Kan lift of a Profunctor q along a Profunctor p in a limited version of the 2-category of Profunctors where the only object is the category Hask, 1-morphisms are profunctors composed and compose with Profunctor composition, and 2-morphisms are just natural transformations.

Rift has a polymorphic kind since 5.6.

Constructors

Instances6ProfunctorFunctor, Category, ProfunctorComonad, ProfunctorAdjunction, Profunctor, Functor