module Test:
include struct ... end
val bin_size_t : 'a Bin_prot.Size.sizer -> 'a Stack.t -> int
val bin_write_t_ : 'a Bin_prot.Unsafe_write_c.writer ->
Bin_prot.Unsafe_common.sptr ->
Bin_prot.Unsafe_common.eptr -> 'a Stack.t -> Bin_prot.Unsafe_common.sptr
val bin_write_t : 'a Bin_prot.Unsafe_write_c.writer ->
Bin_prot.Common.buf ->
pos:Bin_prot.Common.pos -> 'a Stack.t -> Bin_prot.Common.pos
val bin_writer_t : 'a Bin_prot.Type_class.writer -> 'a Stack.t Bin_prot.Type_class.writer
val bin_read_t__ : 'a Bin_prot.Unsafe_read_c.reader ->
Bin_prot.Unsafe_common.sptr_ptr ->
Bin_prot.Unsafe_common.eptr -> int -> 'a Stack.t
val bin_read_t_ : 'a Bin_prot.Unsafe_read_c.reader ->
Bin_prot.Unsafe_common.sptr_ptr -> Bin_prot.Unsafe_common.eptr -> 'a Stack.t
val bin_read_t : 'a Bin_prot.Unsafe_read_c.reader ->
Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos Pervasives.ref -> 'a t
val bin_reader_t : 'a Bin_prot.Type_class.reader -> 'a t Bin_prot.Type_class.reader
val bin_t : 'a Bin_prot.Type_class.t -> 'a t Bin_prot.Type_class.t
include struct ... end
val invariant : 'a Invariant_intf.inv -> 'a Stack.t Invariant_intf.inv
val create : unit -> 'a Stack.t
val is_empty : 'a Stack.t -> bool
val top_exn : 'a Stack.t -> 'a
val pop_exn : 'a Stack.t -> 'a
val pop : 'a Stack.t -> 'a option
val top : 'a Stack.t -> 'a option
val push : 'a Stack.t -> 'a -> unit
val copy : 'a Stack.t -> 'a Stack.t
val until_empty : 'a Stack.t -> ('a -> unit) -> unit
val of_list : 'a list -> 'a Stack.t
val clear : 'a Stack.t -> unit