package accessor

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) t
val getter : ('at -> 'a) -> ('a, 'b) t -> ('at, 'bt) t

A legal implementation of this function must satisfy the following properties:

getter Fn.id = Fn.id
Fn.compose (getter f) (getter g) = getter (Fn.compose g f)
OCaml

Innovation. Community. Security.