package accessor

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type +'a t

t is an appendable type for defining many_getter accessors. See the documentation of Accessor.many_getter for more information.

include Base.Monad.S with type 'a t := 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val (>>|) : 'a t -> ('a -> 'b) -> 'b t
module Monad_infix : sig ... end
val bind : 'a t -> f:('a -> 'b t) -> 'b t
val return : 'a -> 'a t
val map : 'a t -> f:('a -> 'b) -> 'b t
val join : 'a t t -> 'a t
val ignore_m : 'a t -> unit t
val all : 'a t list -> 'a list t
val all_unit : unit t list -> unit t
module Let_syntax : sig ... end
val access : 'a -> 'a t

access a "accesses" a.

val empty : _ t

Don't access anything.

val append : 'a t -> 'a t -> 'a t

append a b accesses everything a accesses, then accesses everything b accesses.

val of_list : 'a t Base.list -> 'a t

Append all the ts in a list together.

module O : sig ... end
include module type of O
val (@) : 'a t -> 'a t -> 'a t
val map_reduce : 'a t -> empty:'r -> combine:('r -> 'r -> 'r) -> f:('a -> 'r) -> 'r
val of_many : (_, 'a, _) Many.t -> 'a t
val of_nonempty : (_, 'a, _) Nonempty.t -> 'a t
val of_nonempty_getter : 'a Nonempty_getter.t -> 'a t
module Make_access (T : sig ... end) : sig ... end
module Make_access3 (T : sig ... end) : sig ... end
module Make_access4 (T : sig ... end) : sig ... end
OCaml

Innovation. Community. Security.