package learn-ocaml

  1. Overview
  2. Docs
type !'a value =
  1. | Absent
  2. | Present of 'a
  3. | Incompatible of string
val get_value : string -> 'a Ty.ty -> 'a value
val print_value : Stdlib.Format.formatter -> 'a -> 'a Ty.ty -> unit
val compatible_type : string -> string -> unit value
exception Excess
val grab_stdout : unit -> unit
val release_stdout : unit -> string
val grab_stderr : unit -> unit
val release_stderr : unit -> string
val get_sampler : 'a Ty.ty -> unit -> 'a
val install_printer : Path.t -> Types.type_expr -> (Stdlib.Format.formatter -> Stdlib.Obj.t -> unit) -> unit
val get_printer : 'a Ty.ty -> Stdlib.Format.formatter -> 'a -> unit
val parse_lid : string -> Longident.t
val register_sampler : string -> string -> string -> ('a -> 'b) -> unit
OCaml

Innovation. Community. Security.