pa_ppx

PPX Rewriters for Ocaml, written using Camlp5
Library pa_ppx_utils
Module type Pa_ppx_utils . Coll . FUNDEQ
type 'a t
type 'a init_t
val mk : 'a init_t -> 'a t
val front : 'a t -> 'a option * 'a t
val shift : 'a t -> 'a * 'a t
val pop_front : 'a t -> 'a * 'a t
val unshift : 'a -> 'a t -> 'a t
val push_front : 'a -> 'a t -> 'a t
val back : 'a t -> 'a t * 'a option
val pop : 'a t -> 'a t * 'a
val push : 'a t -> 'a -> 'a t
val pop_back : 'a t -> 'a t * 'a
val push_back : 'a t -> 'a -> 'a t
val empty : 'a t -> bool
val clear : 'a t -> 'a t
val toList : 'a t -> 'a list
val ofList : 'a list -> 'a init_t -> 'a t
val first : 'a t -> 'a
val last : 'a t -> 'a
val for_all : ( 'a -> bool ) -> 'a t -> bool
val exists : ( 'a -> bool ) -> 'a t -> bool
val app : ( 'a -> unit ) -> 'a t -> unit