Module Gist.Record

Operating on records.

type 'a gist := 'a t
type 'r t = 'r record

The type for records of type 'r.

val make : ?meta:'r Meta.t -> string -> ('r, 'r) fields -> 'r record

make name fields is a record named name with fields fields.

val meta : 'r record -> 'r Meta.t

meta r is the metadata of r.

val name : 'r record -> string

name r is the name of r (if any).

val fields : 'r record -> ('r, 'r) fields

fields r are the fields of r.