package core

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

Module Core.Core_stableSource

Sourcemodule Unit_test = Stable_unit_test.Make
Sourcemodule type Stable = sig ... end
Sourcemodule type Stable_without_comparator = sig ... end
Sourcemodule type Stable1 = sig ... end
Sourcemodule type Stable2 = sig ... end
Sourcemodule type Stable3 = sig ... end
Sourcemodule type Stable4 = sig ... end
Sourcemodule Make_stable : sig ... end
include module type of struct include Bin_prot.Std end
include module type of struct include Bin_prot.Size end
Sourcetype 'a sizer = 'a -> int
Sourcetype ('a, 'b) sizer1 = 'a sizer -> 'b sizer
Sourcetype ('a, 'b, 'c) sizer2 = 'a sizer -> ('b, 'c) sizer1
Sourcetype ('a, 'b, 'c, 'd) sizer3 = 'a sizer -> ('b, 'c, 'd) sizer2
Sourceval bin_size_unit : unit sizer
Sourceval bin_size_bool : bool sizer
Sourceval bin_size_string : string sizer
Sourceval bin_size_bytes : bytes sizer
Sourceval bin_size_char : char sizer
Sourceval bin_size_int : int sizer
Sourceval bin_size_float : float sizer
Sourceval bin_size_int32 : int32 sizer
Sourceval bin_size_int64 : int64 sizer
Sourceval bin_size_nativeint : nativeint sizer
Sourceval bin_size_nat0 : Bin_prot.Nat0.t sizer
Sourceval bin_size_ref : ('a, 'a ref) sizer1
Sourceval bin_size_lazy_t : ('a, 'a lazy_t) sizer1
Sourceval bin_size_lazy : ('a, 'a lazy_t) sizer1
Sourceval bin_size_option : ('a, 'a option) sizer1
Sourceval bin_size_pair : ('a, 'b, 'a * 'b) sizer2
Sourceval bin_size_triple : ('a, 'b, 'c, 'a * 'b * 'c) sizer3
Sourceval bin_size_list : ('a, 'a list) sizer1
Sourceval bin_size_array : ('a, 'a array) sizer1
Sourceval bin_size_hashtbl : ('a, 'b, ('a, 'b) Hashtbl.t) sizer2
Sourceval bin_size_float32_vec : Bin_prot.Common.vec32 sizer
Sourceval bin_size_float64_vec : Bin_prot.Common.vec64 sizer
Sourceval bin_size_vec : Bin_prot.Common.vec sizer
Sourceval bin_size_float32_mat : Bin_prot.Common.mat32 sizer
Sourceval bin_size_float64_mat : Bin_prot.Common.mat64 sizer
Sourceval bin_size_mat : Bin_prot.Common.mat sizer
Sourceval bin_size_bigstring : Bin_prot.Common.buf sizer
Sourceval bin_size_floatarray : floatarray sizer
Sourceval bin_size_float_array : float array sizer
  • deprecated [since 2021-09] use ppx_bin_prot with type [float array] or [floatarray] or the 'floatarray' functions
Sourceval bin_size_variant_int : int sizer
Sourceval bin_size_int_8bit : int sizer
Sourceval bin_size_int_16bit : int sizer
Sourceval bin_size_int_32bit : int sizer
Sourceval bin_size_int_64bit : int sizer
Sourceval bin_size_int64_bits : int64 sizer
Sourceval bin_size_network16_int : int sizer
Sourceval bin_size_network32_int : int sizer
Sourceval bin_size_network32_int32 : int32 sizer
Sourceval bin_size_network64_int : int sizer
Sourceval bin_size_network64_int64 : int64 sizer
Sourceval bin_size_array_no_length : ('a, 'a array) sizer1
  • deprecated [since 2016-03] this function was deprecated as it is misleading and unused
Sourceval bin_size_md5 : Md5_lib.t sizer
Sourceval bin_unit : unit Bin_prot.Type_class.t
Sourceval bin_shape_unit : Bin_prot.Shape.t
Sourceval bin_writer_unit : unit Bin_prot.Type_class.writer
Sourceval bin_write_unit : unit Bin_prot.Write.writer
Sourceval bin_reader_unit : unit Bin_prot.Type_class.reader
Sourceval bin_read_unit : unit Bin_prot.Read.reader
Sourceval __bin_read_unit__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_bool : bool Bin_prot.Type_class.t
Sourceval bin_shape_bool : Bin_prot.Shape.t
Sourceval bin_writer_bool : bool Bin_prot.Type_class.writer
Sourceval bin_write_bool : bool Bin_prot.Write.writer
Sourceval bin_reader_bool : bool Bin_prot.Type_class.reader
Sourceval bin_read_bool : bool Bin_prot.Read.reader
Sourceval __bin_read_bool__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_string : string Bin_prot.Type_class.t
Sourceval bin_shape_string : Bin_prot.Shape.t
Sourceval bin_writer_string : string Bin_prot.Type_class.writer
Sourceval bin_write_string : string Bin_prot.Write.writer
Sourceval bin_reader_string : string Bin_prot.Type_class.reader
Sourceval bin_read_string : string Bin_prot.Read.reader
Sourceval __bin_read_string__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_bytes : bytes Bin_prot.Type_class.t
Sourceval bin_shape_bytes : Bin_prot.Shape.t
Sourceval bin_writer_bytes : bytes Bin_prot.Type_class.writer
Sourceval bin_write_bytes : bytes Bin_prot.Write.writer
Sourceval bin_reader_bytes : bytes Bin_prot.Type_class.reader
Sourceval bin_read_bytes : bytes Bin_prot.Read.reader
Sourceval __bin_read_bytes__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_char : char Bin_prot.Type_class.t
Sourceval bin_shape_char : Bin_prot.Shape.t
Sourceval bin_writer_char : char Bin_prot.Type_class.writer
Sourceval bin_write_char : char Bin_prot.Write.writer
Sourceval bin_reader_char : char Bin_prot.Type_class.reader
Sourceval bin_read_char : char Bin_prot.Read.reader
Sourceval __bin_read_char__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_int : int Bin_prot.Type_class.t
Sourceval bin_shape_int : Bin_prot.Shape.t
Sourceval bin_writer_int : int Bin_prot.Type_class.writer
Sourceval bin_write_int : int Bin_prot.Write.writer
Sourceval bin_reader_int : int Bin_prot.Type_class.reader
Sourceval bin_read_int : int Bin_prot.Read.reader
Sourceval __bin_read_int__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_float : float Bin_prot.Type_class.t
Sourceval bin_shape_float : Bin_prot.Shape.t
Sourceval bin_writer_float : float Bin_prot.Type_class.writer
Sourceval bin_write_float : float Bin_prot.Write.writer
Sourceval bin_reader_float : float Bin_prot.Type_class.reader
Sourceval bin_read_float : float Bin_prot.Read.reader
Sourceval __bin_read_float__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_floatarray : floatarray Bin_prot.Type_class.t
Sourceval bin_shape_floatarray : Bin_prot.Shape.t
Sourceval bin_writer_floatarray : floatarray Bin_prot.Type_class.writer
Sourceval bin_write_floatarray : floatarray Bin_prot.Write.writer
Sourceval bin_reader_floatarray : floatarray Bin_prot.Type_class.reader
Sourceval bin_read_floatarray : floatarray Bin_prot.Read.reader
Sourceval __bin_read_floatarray__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
include sig ... end
Sourcetype float_array = float array
  • deprecated [since 2021-09] Use [float array] or [floatarray] instead
Sourceval bin_shape_float_array : Bin_prot.Shape.t
Sourceval bin_writer_float_array : float array Bin_prot.Type_class.writer
Sourceval bin_write_float_array : float array Bin_prot.Write.writer
Sourceval bin_reader_float_array : float array Bin_prot.Type_class.reader
Sourceval bin_read_float_array : float array Bin_prot.Read.reader
Sourceval __bin_read_float_array__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_int32 : int32 Bin_prot.Type_class.t
Sourceval bin_shape_int32 : Bin_prot.Shape.t
Sourceval bin_writer_int32 : int32 Bin_prot.Type_class.writer
Sourceval bin_write_int32 : int32 Bin_prot.Write.writer
Sourceval bin_reader_int32 : int32 Bin_prot.Type_class.reader
Sourceval bin_read_int32 : int32 Bin_prot.Read.reader
Sourceval __bin_read_int32__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_int64 : int64 Bin_prot.Type_class.t
Sourceval bin_shape_int64 : Bin_prot.Shape.t
Sourceval bin_writer_int64 : int64 Bin_prot.Type_class.writer
Sourceval bin_write_int64 : int64 Bin_prot.Write.writer
Sourceval bin_reader_int64 : int64 Bin_prot.Type_class.reader
Sourceval bin_read_int64 : int64 Bin_prot.Read.reader
Sourceval __bin_read_int64__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_nativeint : nativeint Bin_prot.Type_class.t
Sourceval bin_shape_nativeint : Bin_prot.Shape.t
Sourceval bin_writer_nativeint : nativeint Bin_prot.Type_class.writer
Sourceval bin_write_nativeint : nativeint Bin_prot.Write.writer
Sourceval bin_reader_nativeint : nativeint Bin_prot.Type_class.reader
Sourceval bin_read_nativeint : nativeint Bin_prot.Read.reader
Sourceval __bin_read_nativeint__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_ref : ('a, 'a ref) Bin_prot.Type_class.S1.t
Sourceval bin_writer_ref : ('a, 'a ref) Bin_prot.Type_class.S1.writer
Sourceval bin_write_ref : ('a, 'a ref) Bin_prot.Write.writer1
Sourceval bin_reader_ref : ('a, 'a ref) Bin_prot.Type_class.S1.reader
Sourceval bin_read_ref : ('a, 'a ref) Bin_prot.Read.reader1
Sourceval __bin_read_ref__ : 'a -> 'b -> pos_ref:Bin_prot.Common.pos ref -> 'c -> 'd
Sourceval bin_lazy_t : ('a, 'a lazy_t) Bin_prot.Type_class.S1.t
Sourceval bin_shape_lazy_t : Bin_prot.Shape.t -> Bin_prot.Shape.t
Sourceval bin_writer_lazy_t : ('a, 'a lazy_t) Bin_prot.Type_class.S1.writer
Sourceval bin_write_lazy_t : ('a, 'a lazy_t) Bin_prot.Write.writer1
Sourceval bin_reader_lazy_t : ('a, 'a lazy_t) Bin_prot.Type_class.S1.reader
Sourceval bin_read_lazy_t : ('a, 'a lazy_t) Bin_prot.Read.reader1
Sourceval __bin_read_lazy_t__ : 'a -> 'b -> pos_ref:Bin_prot.Common.pos ref -> 'c -> 'd
Sourceval bin_lazy : ('a, 'a lazy_t) Bin_prot.Type_class.S1.t
Sourceval bin_writer_lazy : ('a, 'a lazy_t) Bin_prot.Type_class.S1.writer
Sourceval bin_write_lazy : ('a, 'a lazy_t) Bin_prot.Write.writer1
Sourceval bin_reader_lazy : ('a, 'a lazy_t) Bin_prot.Type_class.S1.reader
Sourceval bin_read_lazy : ('a, 'a lazy_t) Bin_prot.Read.reader1
Sourceval __bin_read_lazy__ : 'a -> 'b -> pos_ref:Bin_prot.Common.pos ref -> 'c -> 'd
Sourceval bin_option : ('a, 'a option) Bin_prot.Type_class.S1.t
Sourceval bin_shape_option : Bin_prot.Shape.t -> Bin_prot.Shape.t
Sourceval bin_writer_option : ('a, 'a option) Bin_prot.Type_class.S1.writer
Sourceval bin_write_option : ('a, 'a option) Bin_prot.Write.writer1
Sourceval bin_reader_option : ('a, 'a option) Bin_prot.Type_class.S1.reader
Sourceval bin_read_option : ('a, 'a option) Bin_prot.Read.reader1
Sourceval __bin_read_option__ : 'a -> 'b -> pos_ref:Bin_prot.Common.pos ref -> 'c -> 'd
Sourceval bin_list : ('a, 'a list) Bin_prot.Type_class.S1.t
Sourceval bin_writer_list : ('a, 'a list) Bin_prot.Type_class.S1.writer
Sourceval bin_write_list : ('a, 'a list) Bin_prot.Write.writer1
Sourceval bin_reader_list : ('a, 'a list) Bin_prot.Type_class.S1.reader
Sourceval bin_read_list : ('a, 'a list) Bin_prot.Read.reader1
Sourceval __bin_read_list__ : 'a -> 'b -> pos_ref:Bin_prot.Common.pos ref -> 'c -> 'd
Sourceval bin_array : ('a, 'a array) Bin_prot.Type_class.S1.t
Sourceval bin_shape_array : Bin_prot.Shape.t -> Bin_prot.Shape.t
Sourceval bin_writer_array : ('a, 'a array) Bin_prot.Type_class.S1.writer
Sourceval bin_write_array : ('a, 'a array) Bin_prot.Write.writer1
Sourceval bin_reader_array : ('a, 'a array) Bin_prot.Type_class.S1.reader
Sourceval bin_read_array : ('a, 'a array) Bin_prot.Read.reader1
Sourceval __bin_read_array__ : 'a -> 'b -> pos_ref:Bin_prot.Common.pos ref -> 'c -> 'd
Sourceval bin_hashtbl : ('a, 'b, ('a, 'b) Hashtbl.t) Bin_prot.Type_class.S2.t
Sourceval bin_writer_hashtbl : ('a, 'b, ('a, 'b) Hashtbl.t) Bin_prot.Type_class.S2.writer
Sourceval bin_write_hashtbl : ('a, 'b, ('a, 'b) Hashtbl.t) Bin_prot.Write.writer2
Sourceval bin_reader_hashtbl : ('a, 'b, ('a, 'b) Hashtbl.t) Bin_prot.Type_class.S2.reader
Sourceval bin_read_hashtbl : ('a, 'b, ('a, 'b) Hashtbl.t) Bin_prot.Read.reader2
Sourceval __bin_read_hashtbl__ : 'a -> 'b -> 'c -> pos_ref:Bin_prot.Common.pos ref -> 'd -> 'e
Sourceval bin_shape_bigstring : Bin_prot.Shape.t
Sourceval __bin_read_bigstring__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_shape_mat : Bin_prot.Shape.t
Sourceval __bin_read_mat__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_shape_float32_mat : Bin_prot.Shape.t
Sourceval __bin_read_float32_mat__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_shape_float64_mat : Bin_prot.Shape.t
Sourceval __bin_read_float64_mat__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_shape_vec : Bin_prot.Shape.t
Sourceval __bin_read_vec__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_shape_float32_vec : Bin_prot.Shape.t
Sourceval __bin_read_float32_vec__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
Sourceval bin_shape_float64_vec : Bin_prot.Shape.t
Sourceval __bin_read_float64_vec__ : 'a -> pos_ref:Bin_prot.Common.pos ref -> 'b -> 'c
include module type of struct include Base.Hash.Builtin end
Sourceval hash_fold_nativeint : nativeint Base.Hash.folder
Sourceval hash_fold_int64 : int64 Base.Hash.folder
Sourceval hash_fold_int32 : int32 Base.Hash.folder
Sourceval hash_fold_char : char Base.Hash.folder
Sourceval hash_fold_int : int Base.Hash.folder
Sourceval hash_fold_bool : bool Base.Hash.folder
Sourceval hash_fold_string : string Base.Hash.folder
Sourceval hash_fold_float : float Base.Hash.folder
Sourceval hash_fold_unit : unit Base.Hash.folder
Sourceval hash_fold_option : 'a Base.Hash.folder -> 'a option Base.Hash.folder
Sourceval hash_fold_list : 'a Base.Hash.folder -> 'a list Base.Hash.folder
Sourceval hash_fold_lazy_t : 'a Base.Hash.folder -> 'a lazy_t Base.Hash.folder
Sourceval hash_fold_ref_frozen : 'a Base.Hash.folder -> 'a Caml.ref Base.Hash.folder

Hash support for array and ref is provided, but is potentially DANGEROUS, since it incorporates the current contents of the array/ref into the hash value. Because of this we add a _frozen suffix to the function name.

Hash support for string is also potentially DANGEROUS, but strings are mutated less often, so we don't append _frozen to it.

Also note that we don't support bytes.

Sourceval hash_fold_array_frozen : 'a Base.Hash.folder -> 'a array Base.Hash.folder
Sourceval hash_nativeint : nativeint -> Base.Hash.hash_value
Sourceval hash_int64 : int64 -> Base.Hash.hash_value
Sourceval hash_int32 : int32 -> Base.Hash.hash_value
Sourceval hash_char : char -> Base.Hash.hash_value
Sourceval hash_int : int -> Base.Hash.hash_value
Sourceval hash_bool : bool -> Base.Hash.hash_value
Sourceval hash_string : string -> Base.Hash.hash_value
Sourceval hash_float : float -> Base.Hash.hash_value
Sourceval hash_unit : unit -> Base.Hash.hash_value
include sig ... end
Sourceval sexp_of_array : ('a -> Sexplib0.Sexp.t) -> 'a Base.Array.t -> Sexplib0.Sexp.t
Sourceval array_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a Base.Array.t
Sourceval sexp_of_bool : Base.Bool.t -> Sexplib0.Sexp.t
Sourceval bool_of_sexp : Sexplib0.Sexp.t -> Base.Bool.t
Sourceval sexp_of_char : Base.Char.t -> Sexplib0.Sexp.t
Sourceval char_of_sexp : Sexplib0.Sexp.t -> Base.Char.t
Sourceval sexp_of_exn : Base.Exn.t -> Sexplib0.Sexp.t
Sourceval sexp_of_float : Base.Float.t -> Sexplib0.Sexp.t
Sourceval float_of_sexp : Sexplib0.Sexp.t -> Base.Float.t
Sourceval sexp_of_int : Base.Int.t -> Sexplib0.Sexp.t
Sourceval int_of_sexp : Sexplib0.Sexp.t -> Base.Int.t
Sourceval sexp_of_int32 : Base.Int32.t -> Sexplib0.Sexp.t
Sourceval int32_of_sexp : Sexplib0.Sexp.t -> Base.Int32.t
Sourceval sexp_of_int64 : Base.Int64.t -> Sexplib0.Sexp.t
Sourceval int64_of_sexp : Sexplib0.Sexp.t -> Base.Int64.t
Sourceval sexp_of_list : ('a -> Sexplib0.Sexp.t) -> 'a Base.List.t -> Sexplib0.Sexp.t
Sourceval list_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a Base.List.t
Sourceval sexp_of_nativeint : Base.Nativeint.t -> Sexplib0.Sexp.t
Sourceval nativeint_of_sexp : Sexplib0.Sexp.t -> Base.Nativeint.t
Sourceval nativeint_sexp_grammar : Base.Nativeint.t Sexplib0.Sexp_grammar.t
Sourceval sexp_of_option : ('a -> Sexplib0.Sexp.t) -> 'a Base.Option.t -> Sexplib0.Sexp.t
Sourceval option_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a Base.Option.t
Sourceval sexp_of_ref : ('a -> Sexplib0.Sexp.t) -> 'a Base.Ref.t -> Sexplib0.Sexp.t
Sourceval ref_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a Base.Ref.t
Sourceval sexp_of_string : Base.String.t -> Sexplib0.Sexp.t
Sourceval string_of_sexp : Sexplib0.Sexp.t -> Base.String.t
Sourceval sexp_of_bytes : Base.Bytes.t -> Sexplib0.Sexp.t
Sourceval bytes_of_sexp : Sexplib0.Sexp.t -> Base.Bytes.t
Sourceval sexp_of_unit : Base.Unit.t -> Sexplib0.Sexp.t
Sourceval unit_of_sexp : Sexplib0.Sexp.t -> Base.Unit.t
Sourcemodule Hashable = Hashable.Stable
Sourcemodule Bigstring = Bigstring.Stable
Sourcemodule Binable = Binable.Stable
Sourcemodule Blang = Blang.Stable
Sourcemodule Bool = Bool.Stable
Sourcemodule Byte_units = Byte_units.Stable
Sourcemodule Bytes = Bytes.Stable
Sourcemodule Comparable = Comparable.Stable
Sourcemodule Comparator = Comparator.Stable
Sourcemodule Date = Date.Stable
Sourcemodule Day_of_week = Day_of_week.Stable
Sourcemodule Md5 = Md5.Stable
Sourcemodule Either = Either.Stable
Sourcemodule Error = Error.Stable
Sourcemodule Fdeque = Fdeque.Stable
Sourcemodule Filename = Filename.Stable
Sourcemodule Float_with_finite_only_serialization = Float_with_finite_only_serialization.Stable
Sourcemodule Fqueue = Fqueue.Stable
Sourcemodule Gc = Gc.Stable
Sourcemodule Host_and_port = Host_and_port.Stable
Sourcemodule Info = Info.Stable
Sourcemodule Int = Int.Stable
Sourcemodule Int63 = Int63.Stable
Sourcemodule Lazy = Lazy.Stable
Sourcemodule List = List.Stable
Sourcemodule Map = Map.Stable
Sourcemodule Maybe_bound = Maybe_bound.Stable
Sourcemodule Month = Month.Stable
Sourcemodule Nothing = Nothing.Stable
Sourcemodule Option = Option.Stable
Sourcemodule Or_error = Or_error.Stable
Sourcemodule Percent = Percent.Stable
Sourcemodule Perms = Perms.Stable
Sourcemodule Pid = Pid.Stable
Sourcemodule Queue = Queue.Stable
Sourcemodule Result = Result.Stable
Sourcemodule Set = Set.Stable
Sourcemodule Sexp = Sexp.Stable
Sourcemodule Sexpable = Sexpable.Stable
Sourcemodule Source_code_position = Source_code_position.Stable
Sourcemodule String = String.Stable
Sourcemodule String_id = String_id.Stable
Sourcemodule Time_ns = Time_ns.Stable
Sourcemodule Time : sig ... end
Sourcemodule Unit = Unit.Stable
Sourcemodule Unix : sig ... end
include module type of struct include Perms.Export end
Sourcetype read = Perms.Read.t
Sourceval bin_shape_read : Bin_prot.Shape.t
Sourceval bin_size_read : read Bin_prot.Size.sizer
Sourceval bin_write_read : read Bin_prot.Write.writer
Sourceval bin_read_read : read Bin_prot.Read.reader
Sourceval __bin_read_read__ : (Base.Int.t -> read) Bin_prot.Read.reader
Sourceval compare_read : read -> read -> Base.Int.t
Sourceval sexp_of_read : read -> Sexplib0.Sexp.t
Sourceval read_of_sexp : Sexplib0.Sexp.t -> read
Sourcetype write = Perms.Write.t

We don't expose bin_io for write due to a naming conflict with the functions exported by bin_io for read_write. If you want bin_io for write, use Write.t.

Sourceval compare_write : write -> write -> Base.Int.t
Sourceval sexp_of_write : write -> Sexplib0.Sexp.t
Sourceval write_of_sexp : Sexplib0.Sexp.t -> write
Sourcetype immutable = Perms.Immutable.t
Sourceval bin_shape_immutable : Bin_prot.Shape.t
Sourceval bin_size_immutable : immutable Bin_prot.Size.sizer
Sourceval bin_write_immutable : immutable Bin_prot.Write.writer
Sourceval bin_writer_immutable : immutable Bin_prot.Type_class.writer
Sourceval bin_read_immutable : immutable Bin_prot.Read.reader
Sourceval __bin_read_immutable__ : (Base.Int.t -> immutable) Bin_prot.Read.reader
Sourceval bin_reader_immutable : immutable Bin_prot.Type_class.reader
Sourceval compare_immutable : immutable -> immutable -> Base.Int.t
Sourceval sexp_of_immutable : immutable -> Sexplib0.Sexp.t
Sourceval immutable_of_sexp : Sexplib0.Sexp.t -> immutable
Sourcetype read_write = Perms.Read_write.t
Sourceval bin_shape_read_write : Bin_prot.Shape.t
Sourceval bin_size_read_write : read_write Bin_prot.Size.sizer
Sourceval bin_write_read_write : read_write Bin_prot.Write.writer
Sourceval bin_writer_read_write : read_write Bin_prot.Type_class.writer
Sourceval bin_read_read_write : read_write Bin_prot.Read.reader
Sourceval __bin_read_read_write__ : (Base.Int.t -> read_write) Bin_prot.Read.reader
Sourceval bin_reader_read_write : read_write Bin_prot.Type_class.reader
Sourceval compare_read_write : read_write -> read_write -> Base.Int.t
Sourceval sexp_of_read_write : read_write -> Sexplib0.Sexp.t
Sourceval read_write_of_sexp : Sexplib0.Sexp.t -> read_write
Sourcetype 'a perms = 'a Perms.Upper_bound.t
Sourceval bin_shape_perms : Bin_prot.Shape.t -> Bin_prot.Shape.t
Sourceval __bin_read_perms__ : 'a Bin_prot.Read.reader -> (Base.Int.t -> 'a perms) Bin_prot.Read.reader
Sourceval compare_perms : ('a -> 'a -> Base.Int.t) -> 'a perms -> 'a perms -> Base.Int.t
Sourceval sexp_of_perms : ('a -> Sexplib0.Sexp.t) -> 'a perms -> Sexplib0.Sexp.t
Sourceval perms_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a perms
include module type of struct include Ppx_compare_lib.Builtin end
Sourceval compare_bool : bool -> bool -> int
Sourceval compare_char : char -> char -> int
Sourceval compare_float : float -> float -> int
Sourceval compare_int : int -> int -> int
Sourceval compare_int32 : int32 -> int32 -> int
Sourceval compare_int64 : int64 -> int64 -> int
Sourceval compare_nativeint : nativeint -> nativeint -> int
Sourceval compare_string : string -> string -> int
Sourceval compare_unit : unit -> unit -> int
Sourceval compare_array : ('a -> 'a -> int) -> 'a array -> 'a array -> int
Sourceval compare_list : ('a -> 'a -> int) -> 'a list -> 'a list -> int
Sourceval compare_option : ('a -> 'a -> int) -> 'a option -> 'a option -> int
Sourceval compare_ref : ('a -> 'a -> int) -> 'a ref -> 'a ref -> int
Sourceval equal_bool : bool -> bool -> bool
Sourceval equal_char : char -> char -> bool
Sourceval equal_float : float -> float -> bool
Sourceval equal_int : int -> int -> bool
Sourceval equal_int32 : int32 -> int32 -> bool
Sourceval equal_int64 : int64 -> int64 -> bool
Sourceval equal_nativeint : nativeint -> nativeint -> bool
Sourceval equal_string : string -> string -> bool
Sourceval equal_unit : unit -> unit -> bool
Sourceval equal_array : ('a -> 'a -> bool) -> 'a array -> 'a array -> bool
Sourceval equal_list : ('a -> 'a -> bool) -> 'a list -> 'a list -> bool
Sourceval equal_option : ('a -> 'a -> bool) -> 'a option -> 'a option -> bool
Sourceval equal_ref : ('a -> 'a -> bool) -> 'a ref -> 'a ref -> bool
Sourceexception Not_found
  • deprecated [since 2018-02] Instead of raising [Not_found], consider using [raise_s] with an informative error message. If code needs to distinguish [Not_found] from other exceptions, please change it to handle both [Not_found] and [Not_found_s]. Then, instead of raising [Not_found], raise [Not_found_s] with an informative error message.
Sourceexception Not_found_s of Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.