package lens

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Infix operators

val (|.) : 'a -> ('a, 'b) t -> 'b

Get operator

val (^=) : ('a, 'b) t -> 'b -> 'a -> 'a

Set operator

val (^%=) : ('a, 'b) t -> ('b -> 'b) -> 'a -> 'a

Mod operator

Composition

val (|--) : ('a, 'b) t -> ('b, 'c) t -> ('a, 'c) t

Flipped compose operator

val (--|) : ('a, 'b) t -> ('c, 'a) t -> ('c, 'b) t

Compose operator

val (***) : ('a, 'b) t -> ('c, 'd) t -> ('a * 'c, 'b * 'd) t

Pair operator

Pseudo-imperatives

val (+=) : ('a, int) t -> int -> 'a -> 'a
val (-=) : ('a, int) t -> int -> 'a -> 'a
OCaml

Innovation. Community. Security.