package ppx_typed_fields

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

Module Unit.PackedSource

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

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