kan-extensions-0.5.0: Kan extensions, the Yoneda lemma, and (co)density (co)monads

Portabilitynon-portable (rank-2 polymorphism)
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Monad.Codensity

Description

 

Documentation

newtype Codensity m a Source

Constructors

Codensity 

Fields

runCodensity :: forall b. (a -> m b) -> m b