Idris2Doc : Control.Lens.Getter

Control.Lens.Getter

(source)

Definitions

recordIsGetter : (Type->Type->Type) ->Type
Totality: total
Visibility: public export
Constructor: 
MkIsGetter : (Strongp, Bicontravariantp) ->IsGetterp

Projection: 
.runIsGetter : IsGetterp-> (Strongp, Bicontravariantp)

Hints:
IsOptFoldp=>IsGetterp
IsGetterp=>IsGetter (Indexedip)
IsGetterp=>IsLensp
.runIsGetter : IsGetterp-> (Strongp, Bicontravariantp)
Totality: total
Visibility: public export
runIsGetter : IsGetterp-> (Strongp, Bicontravariantp)
Totality: total
Visibility: public export
getterToLens : IsGetterp=>IsLensp
Totality: total
Visibility: export
indexedGetter : IsGetterp=>IsGetter (Indexedip)
Totality: total
Visibility: export
0Getter : Type->Type->Type
  A getter is an optic that only supports getting, not setting.

`Getter s a` is equivalent to a simple function `s -> a`.

Totality: total
Visibility: public export
0IndexedGetter : Type->Type->Type->Type
  An indexed getter returns an index while getting.

Totality: total
Visibility: public export
to : (s->a) ->Gettersa
  Construct a getter from a function.

Totality: total
Visibility: public export
ito : (s-> (i, a)) ->IndexedGetterisa
  Construct an indexed getter from a function.

Totality: total
Visibility: public export
like : a->Gettersa
  Construct a getter that always returns a constant value.

Totality: total
Visibility: public export
views : Gettersa-> (a->r) ->s->r
  Access the value of an optic and apply a function to it, returning the result.

Totality: total
Visibility: public export
view : Gettersa->s->a
  Access the focus value of an optic, particularly a `Getter`.

Totality: total
Visibility: public export
iviews : IndexedGetterisa-> (i->a->r) ->s->r
  Access the value and index of an optic and apply a function to them,
returning the result.

Totality: total
Visibility: public export
iview : IndexedGetterisa->s-> (i, a)
  Access the focus value and index of an optic, particularly a `Getter`.

Totality: total
Visibility: public export
(^.) : s->Gettersa->a
  Access the focus value of an optic, particularly a `Getter`.

This is the operator form of `view`.

Totality: total
Visibility: public export
Fixity Declarations:
infixl operator, level 8
infixl operator, level 8
(^@.) : s->IndexedGetterisa-> (i, a)
  Access the focus value and index of an optic, particularly a `Getter`.

This is the operator form of `iview`.

Totality: total
Visibility: public export
Fixity Declarations:
infixl operator, level 8
infixl operator, level 8