Read_write
is like Dirpair
, except "buy/sell" has been changed to "read/write".
module Key : sig ... end
include sig ... end
val any_of_sexp : (Base.Sexp.t ‑> 'a) ‑> (Base.Sexp.t ‑> 'z) ‑> Base.Sexp.t ‑> ('a, 'z) any
val sexp_of_any : ('a ‑> Base.Sexp.t) ‑> ('z ‑> Base.Sexp.t) ‑> ('a, 'z) any ‑> Base.Sexp.t
module Immutable : sig ... end
module Read_only : sig ... end
module Mutable : sig ... end
include sig ... end
val t_of_sexp : (Base.Sexp.t ‑> 'a) ‑> Base.Sexp.t ‑> 'a t
val sexp_of_t : ('a ‑> Base.Sexp.t) ‑> 'a t ‑> Base.Sexp.t
val create : read:'a ‑> write:'a ‑> ('a, [< _ Core.perms ]) any
val createi : (Key.t ‑> 'a) ‑> ('a, [< _ Core.perms ]) any
val create_both : 'a ‑> ('a, [< _ Core.perms ]) any
val create_fn : (unit ‑> 'a) ‑> ('a, [< _ Core.perms ]) any
val create_with : Key.t ‑> 'a ‑> zero:'a ‑> ('a, [< _ Core.perms ]) any
val copy : ('a, [> Core.read ]) any ‑> ('a, [< _ Core.perms ]) any
val mapi : ('a, [> Core.read ]) any ‑> f:(Key.t ‑> 'a ‑> 'b) ‑> ('b, [< _ Core.perms ]) any
val map : ('a, [> Core.read ]) any ‑> f:('a ‑> 'b) ‑> ('b, [< _ Core.perms ]) any
module Export : sig ... end