package ppx_deriving_yaml

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

Functions for converting OCaml types to Yaml.value types

val type_to_expr : Ppxlib.core_type -> Ppxlib.expression
val type_decl_to_type : Ppxlib.type_declaration -> Ppxlib.core_type
val type_decl_of_type : Ppxlib.type_declaration -> Ppxlib.core_type
val of_yaml_type_to_expr : string option -> Ppxlib.core_type -> Ppxlib.expression
val of_yaml_record_to_expr : loc:Ppxlib.Location.t -> Ppxlib.label_declaration list -> Ppxlib.expression
val monad_fold : ('a -> Ppxlib.expression) -> Ppxlib.expression -> ('a * int) list -> Ppxlib.expression
val wrap_open_rresult : loc:Ppxlib.location -> Ppxlib.expression -> Ppxlib.expression