package cconv-ppx

  1. Overview
  2. Docs
Combinators for Type Conversion in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.tar.gz
md5=1c44c38ffa53706206a0727ea32fefa7
sha512=5fc224adfe5655f15a77783ebbe4a9b9983ec8dd6ed5f9c6d6ca56025db419289291ff1c97707ed3432ecb3b6d35af9237e9bab12acde9b15e4458227361795f

doc/ppx_deriving_cconv/Ppx_deriving_cconv/index.html

Module Ppx_deriving_cconv

module AH = Ast_helper
module AC = Ast_convenience
val deriver : string
val raise_errorf : ?sub:Location.error list -> ?loc:Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> 'a
val encode_prefix : [> `Prefix of string ]
val decode_prefix : [> `Prefix of string ]
val argn : int -> string
val attr_encoder : Parsetree.attributes -> Parsetree.expression option
val attr_decoder : Parsetree.attributes -> Parsetree.expression option
val attr_ignore : Parsetree.attributes -> bool
val attr_default : Parsetree.attributes -> Parsetree.expression option
val attr_string : string -> string -> Parsetree.attributes -> string
val attr_key : string -> Parsetree.attributes -> string
val fold_right_i : (int -> 'a -> 'b -> 'b) -> 'a list -> 'b -> 'b
val extract_pcd_args_tuple_values : loc:Location.t -> Parsetree.constructor_arguments -> Parsetree.core_type list
val contains_record_variant : Parsetree.constructor_declaration list -> bool
val encode_of_typ : self:(string * bool Stdlib.ref) option -> Parsetree.core_type -> Parsetree.expression
val encode_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.value_binding list
val encode_sig_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.signature_item list
val decode_of_typ : self:(string * bool Stdlib.ref) option -> Parsetree.core_type -> Parsetree.expression
val decode_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.value_binding list
val decode_sig_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.signature_item list
val str_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.value_binding list
val sig_of_type : options:'a -> path:'b -> Parsetree.type_declaration -> Parsetree.signature_item list
OCaml

Innovation. Community. Security.