pa_ppx

PPX Rewriters for Ocaml, written using Camlp5
Library pa_ppx_utils
type (!'a, !'b) t = ('a * 'b) list
type ('a, 'b) init_t = unit
val delete : 'a -> ('a * 'b) list -> ('a * 'b) list
val mk : unit -> 'a list
val map : ('a * 'b) list -> 'a -> 'b
val dom : ('a * 'b) list -> 'a list
val rng : ('a * 'b) list -> 'b list
val in_dom : ('a * 'b) list -> 'a -> bool
val in_rng : ('a * 'b) list -> 'b -> bool
val inv : ('a * 'b) list -> 'b -> 'a list
val add : ('a * 'b) list -> ('a * 'b) -> ('a * 'b) list
val rmv : ('a * 'b) list -> 'a -> ('a * 'b) list
val remap : ('a * 'b) list -> 'a -> 'b -> ('a * 'b) list
val app : ( 'a -> 'b -> unit ) -> ('a * 'b) list -> unit
val fold : ( 'a -> 'b -> 'a ) -> 'a -> 'b list -> 'a
val try_find : ( 'a -> 'b ) -> 'a list -> 'b
val filter : ( 'a -> bool ) -> 'a list -> 'a list
val toList : 'a -> 'a
val ofList : 'a -> ('b * 'c) list -> ('b * 'c) list
val exists : ( 'a -> 'b -> bool ) -> ('a * 'b) list -> bool
val for_all : ( 'a -> 'b -> bool ) -> ('a * 'b) list -> bool
val size : 'a list -> int
val empty : 'a list -> bool
val clear : 'a -> 'b list