package core

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

Module Stable.V1Source

Sourcetype nonrec ('a, 'b) t = ('a, 'b) t
Sourcemodule type S = sig ... end
include Set_intf.For_deriving with type ('a, 'b) t := ('a, 'b) t
include Base.Set.For_deriving with type ('a, 'b) t := ('a, 'b) t
Sourcemodule type Sexp_of_m = sig ... end
Sourcemodule type M_of_sexp = sig ... end
Sourcemodule type M_sexp_grammar = sig ... end
Sourcemodule type Compare_m = sig ... end
Sourcemodule type Equal_m = sig ... end
Sourcemodule type Hash_fold_m = Base.Hasher.S
Sourceval sexp_of_m__t : (module Sexp_of_m with type t = 'elt) -> ('elt, 'cmp) t -> Base.Sexp.t
Sourceval m__t_of_sexp : (module M_of_sexp with type comparator_witness = 'cmp and type t = 'elt) -> Base.Sexp.t -> ('elt, 'cmp) t
Sourceval m__t_sexp_grammar : (module M_sexp_grammar with type t = 'elt) -> ('elt, 'cmp) t Sexplib0.Sexp_grammar.t
Sourceval compare_m__t : (module Compare_m) -> ('elt, 'cmp) t -> ('elt, 'cmp) t -> int
Sourceval equal_m__t : (module Equal_m) -> ('elt, 'cmp) t -> ('elt, 'cmp) t -> bool
Sourceval hash_fold_m__t : (module Hash_fold_m with type t = 'elt) -> Base.Hash.state -> ('elt, _) t -> Base.Hash.state
Sourceval hash_m__t : (module Hash_fold_m with type t = 'elt) -> ('elt, _) t -> int
Sourcemodule M = Base.Set.M

The following *bin* functions support bin-io on base-style sets, e.g.:

 type t = Set.M(String).t [@@deriving bin_io] 
Sourceval bin_shape_m__t : ('a, 'b) Set_intf.Elt_bin_io.t -> Bin_prot.Shape.t
Sourceval bin_size_m__t : ('a, 'b) Set_intf.Elt_bin_io.t -> ('a, 'b) t Bin_prot.Size.sizer
Sourceval bin_write_m__t : ('a, 'b) Set_intf.Elt_bin_io.t -> ('a, 'b) t Bin_prot.Write.writer
Sourceval bin_read_m__t : ('a, 'b) Set_intf.Elt_bin_io.t -> ('a, 'b) t Bin_prot.Read.reader
Sourceval __bin_read_m__t__ : ('a, 'b) Set_intf.Elt_bin_io.t -> (Base.Int.t -> ('a, 'b) t) Bin_prot.Read.reader

The following quickcheck* functions support deriving quickcheck on base-style sets, e.g.:

 type t = Set.M(String).t [@@deriving quickcheck] 
Sourcemodule type Quickcheck_generator_m = sig ... end
Sourcemodule type Quickcheck_observer_m = sig ... end
Sourcemodule type Quickcheck_shrinker_m = sig ... end
Sourceval quickcheck_generator_m__t : (module Quickcheck_generator_m with type comparator_witness = 'cmp and type t = 'a) -> ('a, 'cmp) t Quickcheck.Generator.t
Sourceval quickcheck_observer_m__t : (module Quickcheck_observer_m with type comparator_witness = 'cmp and type t = 'a) -> ('a, 'cmp) t Quickcheck.Observer.t
Sourceval quickcheck_shrinker_m__t : (module Quickcheck_shrinker_m with type comparator_witness = 'cmp and type t = 'a) -> ('a, 'cmp) t Quickcheck.Shrinker.t
Sourcemodule Make (Elt : sig ... end) : S with type elt := Elt.t with type elt_comparator_witness := Elt.comparator_witness
OCaml

Innovation. Community. Security.