package ppx_typed_fields

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

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 -> t -> int
include Ppx_compare_lib.Equal.S with type t := t
val equal : t -> t -> bool
val pack : 'a field -> t