Up

Module Field_list

Signature

type 'a t = (Field_name.t * 'a) list
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val bin_read_t : 'a Bin_prot.Read.reader -> 'a t Bin_prot.Read.reader
val __bin_read_t__ : 'a Bin_prot.Read.reader -> (int -> 'a t) Bin_prot.Read.reader
val bin_size_t : 'a Bin_prot.Size.sizer -> 'a t Bin_prot.Size.sizer
val bin_write_t : 'a Bin_prot.Write.writer -> 'a t Bin_prot.Write.writer
val t_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a t
val sexp_of_t : ('a -> Sexplib.Sexp.t) -> 'a t -> Sexplib.Sexp.t
val hash : _ t -> int
val last : 'a t -> string -> 'a option
val add : 'a t -> name:string -> 'a -> 'a t
val add_at_bottom : 'a t -> name:string -> 'a -> 'a t
val set : 'a t -> name:string -> 'a -> 'a t
val set_at_bottom : 'a t -> name:string -> 'a -> 'a t
val find_all : 'a t -> string -> 'a list
val names : 'a t -> Field_name.t list