category-extras-0.44.1: Various modules and constructs inspired by category theory.

Portabilitynon-portable (functional-dependencies)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>

Control.Functor.Pointed

Description

 

Documentation

class Functor f => Pointed f whereSource

Methods

point :: a -> f aSource

Instances

(Pointed f, Pointed g) => Pointed (DistCompF f g) 
(Pointed f, Pointed mw) => Pointed (PreCompF f mw) 
(Pointed mw, Pointed f) => Pointed (PostCompF mw f) 
(Pointed f, Pointed g) => Pointed (PointedCompF f g) 
Adjunction f g => Pointed (ACompF g f) 
(Pointed f, Pointed g) => Pointed (BifunctorF (,) f g) 

class Functor f => Copointed f whereSource

Methods

copoint :: f a -> aSource