Idris2Doc : Control.Lens.Equality

Control.Lens.Equality

(source)

Definitions

dataIsEquality : (k->k'->Type) ->Type
Totality: total
Visibility: public export
Constructor: 
MkIsEquality : IsEqualityp
0Equality : k->k'->k->k'->Type
  An `Equality s t a b` is a witness that `(s = a, t = b)` that can be used
as an optic.

The canonical `Equality` is `id : Equality a b a b`.

An `Equality` can be coerced to any other optic.

Totality: total
Visibility: public export
0Equality' : k->k->Type
  An `Equality' s a` is a witness that `s = a` that can be used as an optic.
This is the `Simple` version of `Equality`.

Totality: total
Visibility: public export
runEq : Equalitystab-> (s=a, t=b)
  Extract the two `Equal` values from an `Equality`.

Totality: total
Visibility: public export
runEq' : Equalitystab->s=a
  Extract an `Equal` value from an `Equality`.

Totality: total
Visibility: public export
congEq : {0f : {type_of_a:10786}->{k:10784}} -> {0g : {type_of_b:10787}->{k':10785}} ->Equalitystab->Equality (fs) (gt) (fa) (gb)
  `Equality` is a congruence.

Totality: total
Visibility: public export
symEq : Equalitystab->Equalitybats
  Symmetry of an `Equality` optic.

Totality: total
Visibility: public export
substEq : {0p : {type_of_a:10955}->{type_of_b:10956}->{type_of_a:10955}->{type_of_b:10956}->Type} ->Equalitystab->pabab->pstab
Totality: total
Visibility: public export
simple : Equality'aa
  The trivial `Simple Equality`.
Composing this optic with any other can force it to be a `Simple` optic.

Totality: total
Visibility: public export