Idris2Doc : Data.Profunctor.Traversing

Data.Profunctor.Traversing

(source)

Definitions

wanderDef : Profunctorp=> (Traversablef=>pab->p (fa) (fb)) -> (Applicativef=> (a->fb) ->s->ft) ->pab->pst
Totality: total
Visibility: public export
interfaceTraversing : (Type->Type->Type) ->Type
  The interface of profunctors that implement `wander`.
NOTE: Definitions in terms of `wander` are much more efficient!

Laws:
* `traverse' = wander traverse`
* `traverse' . lmap f = lmap (map f) . traverse'`
* `traverse' . rmap f = rmap (map f) . traverse'`
* `traverse' . traverse' = traverse' @{Compose}`
* `dimap Id runIdentity . traverse' = id`

Parameters: p
Constraints: Strong p, Choice p
Methods:
traverse' : Traversablef=>pab->p (fa) (fb)
wander : (Applicativef=> (a->fb) ->s->ft) ->pab->pst

Implementations:
TraversingMorphism
Applicativef=>Traversing (Kleislimorphismf)
Applicativef=>Traversing (Starf)
Monoidr=>Traversing (Forgetr)
Profunctorp=>Traversing (CofreeTraversingp)
Traversing (FreeTraversingp)
traverse' : Traversingp=>Traversablef=>pab->p (fa) (fb)
Totality: total
Visibility: public export
wander : Traversingp=> (Applicativef=> (a->fb) ->s->ft) ->pab->pst
Totality: total
Visibility: public export
recordCofreeTraversing : (Type->Type->Type) ->Type->Type->Type
  The comonad generated by the reflective subcategory of profunctors that
implement `Traversing`.

Totality: total
Visibility: public export
Constructor: 
MkCFT : (Traversablef=>p (fa) (fb)) ->CofreeTraversingpab

Projection: 
.runCFT : CofreeTraversingpab->Traversablef=>p (fa) (fb)

Hints:
Profunctorp=>Functor (CofreeTraversingpa)
Profunctorp=>GenStrongPair (CofreeTraversingp)
Profunctorp=>GenStrongEither (CofreeTraversingp)
Profunctorp=>Profunctor (CofreeTraversingp)
ProfunctorComonadCofreeTraversing
ProfunctorFunctorCofreeTraversing
Profunctorp=>Traversing (CofreeTraversingp)
.runCFT : CofreeTraversingpab->Traversablef=>p (fa) (fb)
Totality: total
Visibility: public export
runCFT : CofreeTraversingpab->Traversablef=>p (fa) (fb)
Totality: total
Visibility: public export
cofreeTraversing : Traversingp=>p:->q->p:->CofreeTraversingq
Totality: total
Visibility: public export
uncofreeTraversing : Profunctorq=>p:->CofreeTraversingq->p:->q
Totality: total
Visibility: public export
dataFreeTraversing : (Type->Type->Type) ->Type->Type->Type
  The monad generated by the reflective subcategory of profunctors that
implement `Traversing`.

Totality: total
Visibility: public export
Constructor: 
MkFT : Traversablef=> (fy->b) ->pxy-> (a->fx) ->FreeTraversingpab

Hints:
GenStrongPair (FreeTraversingp)
GenStrongEither (FreeTraversingp)
Profunctor (FreeTraversingp)
ProfunctorFunctorFreeTraversing
ProfunctorMonadFreeTraversing
Traversing (FreeTraversingp)
freeTraversing : Traversingq=>p:->q->FreeTraversingp:->q
Totality: total
Visibility: public export
unfreeTraversing : FreeTraversingp:->q->p:->q
Totality: total
Visibility: public export