Ppx_deriving_biniou_runtimeval pp_node_tag :
Ppx_deriving_runtime.Format.formatter ->
node_tag ->
Ppx_deriving_runtime.unitval show_node_tag : node_tag -> Ppx_deriving_runtime.stringval pp_hash :
Ppx_deriving_runtime.Format.formatter ->
hash ->
Ppx_deriving_runtime.unitval show_hash : hash -> Ppx_deriving_runtime.stringtype tree = [ | `Tuple of tree array| `Num_variant of int * tree option| `Float32 of float| `Bool of bool| `Svint of int| `Int8 of char| `Int64 of Stdlib.Int64.t| `Array of (node_tag * tree array) option| `Variant of string option * hash * tree option| `Int16 of int| `Float64 of float| `Unit| `Table of ((string option * hash * node_tag) array * tree array array) option| `Record of (string option * hash * tree) array| `Uvint of int| `String of string| `Int32 of Stdlib.Int32.t ]val pp_tree :
Ppx_deriving_runtime.Format.formatter ->
tree ->
Ppx_deriving_runtime.unitval show_tree : tree -> Ppx_deriving_runtime.stringexception Could_not_convert of string * treeval could_not_convert : string -> tree -> 'aval unit_to_biniou : unit -> treeval unit_of_biniou_exn : tree -> unitval bool_to_biniou : bool -> treeval bool_of_biniou_exn : tree -> boolval char_to_biniou : char -> treeval char_of_biniou_exn : tree -> charval string_to_biniou : string -> treeval string_of_biniou_exn : tree -> stringval int_to_biniou : int -> treeval int_of_biniou_exn : tree -> intval int32_to_biniou : int32 -> treeval int32_of_biniou_exn : tree -> int32val int64_to_biniou : int64 -> treeval int64_of_biniou_exn : tree -> int64val float_to_biniou : float -> treeval float_of_biniou_exn : tree -> floatHelper to make a pure of_biniou function based on an exception-raising of_biniou_exn function.
Given the content of a Biniou record, look for the tree corresponding to the given string by comparing it to the hashes. If it isn't found, the name argument is used to raise Could_not_convert.