Idris2Doc : Data.Profunctor.Closed

Data.Profunctor.Closed

(source)

Definitions

interfaceClosed : (Type->Type->Type) ->Type
  Closed profunctors preserve the closed structure of a category.

Laws:
* `lmap (. f) . closed = rmap (. f) . closed`
* `closed . closed = dimap uncurry curry . closed`
* `dimap const ($ ()) . closed = id`

Parameters: p
Constraints: Profunctor p
Methods:
closed : pab->p (x->a) (x->b)
  The action of a closed profunctor.

Implementations:
ClosedMorphism
Functorf=>Closed (Costarf)
Profunctorp=>Closed (Closurep)
Closed (Environmentp)
closed : Closedp=>pab->p (x->a) (x->b)
  The action of a closed profunctor.

Totality: total
Visibility: public export
curry' : Closedp=>p (a, b) c->pa (b->c)
Totality: total
Visibility: public export
recordClosure : (Type->Type->Type) ->Type->Type->Type
  The comonad generated by the reflective subcategory of profunctors that
implement `Closed`.

Totality: total
Visibility: public export
Constructor: 
MkClosure : p (x->a) (x->b) ->Closurepab

Projection: 
.runClosure : Closurepab->p (x->a) (x->b)

Hints:
Profunctorp=>Closed (Closurep)
Profunctorp=>Functor (Closurepa)
Strongp=>GenStrongPair (Closurep)
Profunctorp=>Profunctor (Closurep)
ProfunctorAdjunctionEnvironmentClosure
ProfunctorComonadClosure
ProfunctorFunctorClosure
.runClosure : Closurepab->p (x->a) (x->b)
Totality: total
Visibility: public export
runClosure : Closurepab->p (x->a) (x->b)
Totality: total
Visibility: public export
close : Closedp=>p:->q->p:->Closureq
Totality: total
Visibility: public export
unclose : Profunctorq=>p:->Closureq->p:->q
Totality: total
Visibility: public export
dataEnvironment : (Type->Type->Type) ->Type->Type->Type
  The monad generated by the reflective subcategory of profunctors that
implement `Closed`.

Totality: total
Visibility: public export
Constructor: 
MkEnv : ((z->y) ->b) ->pxy-> (a->z->x) ->Environmentpab

Hints:
Closed (Environmentp)
Profunctorp=>Functor (Environmentpa)
Profunctor (Environmentp)
ProfunctorAdjunctionEnvironmentClosure
ProfunctorFunctorEnvironment
ProfunctorMonadEnvironment
environment : Closedq=>p:->q->Environmentp:->q
Totality: total
Visibility: public export
unenvironment : Environmentp:->q->p:->q
Totality: total
Visibility: public export