package accessor

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('inner, 'outer, 'kind) t = {
  1. f : 'w. ('kind, 'w) Accessor__.Dictionary.t -> ('inner, 'w) Accessor__.Mapping.t -> ('outer, 'w) Accessor__.Mapping.t;
}

Here is a summary of the type parameters in (i -> a -> b, it -> at -> bt, c) Accessor.General.t:

  • i is the output index type
  • a is the type of value that is read
  • b is the type of value that is written
  • it is the input index type
  • at is the type of value that is read from
  • bt is the type of value resulting from a write
  • c is the kind of accessor

This is the most general way to express the type of an accessor. For many cases, Accessor.t or Accessor.Indexed.t will suffice.

The representation is exposed, but not intended to be used directly.