profunctors-4.2.0.1: Profunctors

PortabilityRank2Types, TFs
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellTrustworthy

Data.Profunctor.Codensity

Description

 

Synopsis

Documentation

newtype Codensity p a b Source

This represents the right Kan extension of a Profunctor p along itself. This provides a generalization of the "difference list" trick to profunctors.

Constructors

Codensity 

Fields

runCodensity :: forall x. p x a -> p x b