morphisms-functors-0.1.6: Functors, theirs compositions and transformations
Data.Functor.Codensity
data Codensity (t :: * -> *) (a :: *) Source #
Constructors
Fields
Defined in Data.Functor.Codensity
Methods
(<$>) :: (a -> b) -> Codensity t a -> Codensity t b Source #
comap :: (a -> b) -> Codensity t a -> Codensity t b Source #
(<$) :: a -> Codensity t b -> Codensity t a Source #
($>) :: Codensity t a -> b -> Codensity t b Source #
void :: Codensity t a -> Codensity t () Source #
point :: a -> Codensity t a Source #