package sexplib0

  1. Overview
  2. Docs
type (_, _) t =
  1. | Default : (unit -> 'a) -> ('a, Sexp.t -> 'a) t
  2. | Omit_nil : ('a, Sexp.t -> 'a) t
  3. | Required : ('a, Sexp.t -> 'a) t
  4. | Sexp_array : ('a array, Sexp.t -> 'a) t
  5. | Sexp_bool : (bool, unit) t
  6. | Sexp_list : ('a list, Sexp.t -> 'a) t
  7. | Sexp_option : ('a option, Sexp.t -> 'a) t

A GADT specifying how to parse a record field. See documentation for ppx_sexp_conv.