package dune-private-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. impl : 'a;
  2. intf : 'a;
}
val compare : ('a -> 'a -> Stdune.Ordering.t) -> 'a t -> 'a t -> Stdune.Ordering.t
val to_dyn : ('a -> Stdune.Dyn.t) -> 'a t -> Stdune.Dyn.t
val get : 'a t -> t -> 'a
val of_func : (ml_kind:t -> 'a) -> 'a t
val make_both : 'a -> 'a t
val iteri : 'a t -> f:(t -> 'a -> unit) -> unit
val make : impl:'a -> intf:'a -> 'a t
val mapi : 'a t -> f:(t -> 'a -> 'b) -> 'b t
val map : 'a t -> f:('a -> 'b) -> 'b t
OCaml

Innovation. Community. Security.