package core
Module Core.Core_kernel_stableSource
include module type of struct include Bin_prot.Std end
include module type of struct include Base.Hash.Builtin end
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.
include module type of struct include Stable_witness.Export end
val stable_witness_ref : 'a Stable_witness.t -> 'a ref Stable_witness.tinclude sig ... end
Source
val array_sexp_grammar :
'a Sexplib0.Sexp_grammar.t ->
'a Base.Array.t Sexplib0.Sexp_grammar.tSource
val option_sexp_grammar :
'a Sexplib0.Sexp_grammar.t ->
'a Base.Option.t Sexplib0.Sexp_grammar.tinclude module type of struct include Perms.Export end
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.
Source
val hash_fold_immutable :
Ppx_hash_lib.Std.Hash.state ->
immutable ->
Ppx_hash_lib.Std.Hash.stateSource
val hash_fold_read_write :
Ppx_hash_lib.Std.Hash.state ->
read_write ->
Ppx_hash_lib.Std.Hash.stateSource
val __bin_read_perms__ :
'a Bin_prot.Read.reader ->
(Base.Int.t -> 'a perms) Bin_prot.Read.readerSource
val hash_fold_perms :
(Ppx_hash_lib.Std.Hash.state -> 'a -> Ppx_hash_lib.Std.Hash.state) ->
Ppx_hash_lib.Std.Hash.state ->
'a perms ->
Ppx_hash_lib.Std.Hash.state