package accessor

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

Parameter Make_access.T

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.