Idris2Doc : Data.Container.Additive.Morphism.Definition

Data.Container.Additive.Morphism.Definition

(source)

Definitions

record(=%>) : AddCont->AddCont->Type
  Forward-backward morphism between additive containers
It should also encode the constraint that the backward part is a comonoid
homomorphism. That is currently left out.

┌─────────────┐
(x : c.Shp) ──►┤ ├──► (y : c.Shp)
│ lens │
c.Pos x ◄──┤ ├◄── d.Pos y
└─────────────┘

Totality: total
Visibility: public export
Constructor: 
(!%) : UCc=%>UCd->c=%>d

Projection: 
.ULens : c=%>d->UCc=%>UCd

Fixity Declarations:
infixr operator, level 1
infixr operator, level 1
.ULens : c=%>d->UCc=%>UCd
Totality: total
Visibility: public export
ULens : c=%>d->UCc=%>UCd
Totality: total
Visibility: public export
(!%+) : ((x : c.Shp) -> (y : d.Shp**d.Posy->c.Posx)) ->c=%>d
  Analogous to `!%` for ordinary containers, allows us to construct the 
lens directly

Totality: total
Visibility: public export
Fixity Declaration: prefix operator, level 0
(%!) : c=%>d-> (x : c.Shp) -> (y : d.Shp**d.Posy->c.Posx)
Totality: total
Visibility: public export
Fixity Declarations:
prefix operator, level 0
prefix operator, level 0
.fwd : c=%>d->c.Shp->d.Shp
Totality: total
Visibility: public export
.bwd : (f : c=%>d) -> (x : c.Shp) ->d.Pos (f.fwdx) ->c.Posx
Totality: total
Visibility: public export
compDepLens : c=%>d->d=%>e->c=%>e
Totality: total
Visibility: public export
(%>>) : c=%>d->d=%>e->c=%>e
Totality: total
Visibility: public export
Fixity Declarations:
infixl operator, level 5
infixl operator, level 5
id : c=%>c
Totality: total
Visibility: public export
lensInputs : c=%>d->AddCont
  Pairing of all possible combinations of inputs to a particular lens

┌─────────────┐
(x : c.Shp) ──►┤ ├──►
│ lens │
│ │
◄──┤ ├◄── d.Pos (lens.fwd x)
└─────────────┘

Totality: total
Visibility: public export
record(=&>) : AddCont->AddCont->Type
  Forward-forward morphism between additive containers
It should also encode the constraint that the second component of the
chart is a commutative monoid homomorphism. That is currently left out

┌─────────────┐
(x : c.Shp) ──►┤ ├──► (y : c.Shp)
│ lens │
c.Pos x ──►┤ ├──► d.Pos y
└─────────────┘

Totality: total
Visibility: public export
Constructor: 
(!&) : UCc=&>UCd->c=&>d

Projection: 
.UChart : c=&>d->UCc=&>UCd

Fixity Declarations:
infixr operator, level 1
infixr operator, level 1
.UChart : c=&>d->UCc=&>UCd
Totality: total
Visibility: public export
UChart : c=&>d->UCc=&>UCd
Totality: total
Visibility: public export
(&!) : c=&>d-> (x : c.Shp) -> (y : d.Shp**c.Posx->d.Posy)
Totality: total
Visibility: public export
Fixity Declarations:
prefix operator, level 0
prefix operator, level 0
.fwd : c=&>d->c.Shp->d.Shp
Totality: total
Visibility: public export
.bwd : (f : c=&>d) -> (x : c.Shp) ->c.Posx->d.Pos (f.fwdx)
Totality: total
Visibility: public export
compDepChart : c=&>d->d=&>e->c=&>e
Totality: total
Visibility: public export
(&>>) : c=&>d->d=&>e->c=&>e
Totality: total
Visibility: public export
Fixity Declarations:
infixl operator, level 5
infixl operator, level 5
id : c=&>c
Totality: total
Visibility: public export
chartInputs : (0_ : c=&>d) ->AddCont
  Unlike with lenses, the set of all inputs to a chart is simpler, it is 
just the input container.

Totality: total
Visibility: public export