package ppx_typed_fields

  1. Overview
  2. Docs

Packed is useful for making collections of 'a t's with different 'a's.

type 'a field := 'a t
type t' =
  1. | T : 'a field -> t'
type t = {
  1. f : t';
}
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
include Ppx_enumerate_lib.Enumerable.S with type t := t
val all : t list
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_compare_lib.Equal.S with type t := t
val equal : t Base__Ppx_compare_lib.equal
val pack : 'a field -> t
OCaml

Innovation. Community. Security.