package core_extended

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

to_int_exn and of_int_exn are used to convert between t and immediate option values. Int.min_value is used to represent none; any t corresponding to Int.min_value will be unrepresentable as a some value.

include Core.Intable
type t
val of_int_exn : int -> t
val to_int_exn : t -> int

The immediate option type respects the value type's sexp format.

include Core.Sexpable with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val bin_shape_uuid : Bin_shape.Uuid.t

bin_shape_uuid is used to construct the bin_shape_digest for the resulting bin-io format.

OCaml

Innovation. Community. Security.