package ppx_meta_conv

  1. Overview
  2. Docs
val ocaml_of_int : int encoder
val ocaml_of_nativeint : nativeint encoder
val ocaml_of_unit : unit encoder
val ocaml_of_bool : bool encoder
val ocaml_of_int32 : int32 encoder
val ocaml_of_int64 : int64 encoder
val ocaml_of_float : float encoder
val ocaml_of_char : char encoder
val ocaml_of_string : string encoder
val ocaml_of_list : 'a encoder -> 'a list encoder
val ocaml_of_array : 'a encoder -> 'a array encoder
val ocaml_of_option : 'a encoder -> 'a option encoder
val ocaml_of_ref : 'a encoder -> 'a Stdlib.ref encoder
val ocaml_of_lazy_t : 'a encoder -> 'a Stdlib.Lazy.t encoder
val ocaml_of_mc_lazy_t : 'a encoder -> ('a, target) Meta_conv.Open.mc_lazy_t encoder
val ocaml_of_mc_fields : 'a encoder -> (string * 'a) list encoder
val ocaml_of_hashtbl : 'a encoder -> 'b encoder -> ('a, 'b) Stdlib.Hashtbl.t encoder
val int_of_ocaml : int decoder
val nativeint_of_ocaml : nativeint decoder
val unit_of_ocaml : unit decoder
val bool_of_ocaml : bool decoder
val int32_of_ocaml : int32 decoder
val int64_of_ocaml : int64 decoder
val float_of_ocaml : float decoder
val char_of_ocaml : char decoder
val string_of_ocaml : string decoder
val list_of_ocaml : 'a decoder -> 'a list decoder
val array_of_ocaml : 'a decoder -> 'a array decoder
val option_of_ocaml : 'a decoder -> 'a option decoder
val ref_of_ocaml : 'a decoder -> 'a Stdlib.ref decoder
val lazy_t_of_ocaml : 'a decoder -> 'a lazy_t decoder
val hashtbl_of_ocaml : 'a decoder -> 'b decoder -> ('a, 'b) Stdlib.Hashtbl.t decoder
OCaml

Innovation. Community. Security.