Batteries user guide : BatStack

`sig type 'a t = 'a Stack.t exception Empty val create : unit -> 'a BatStack.t val push : 'a -> 'a BatStack.t -> unit val pop : 'a BatStack.t -> 'a val top : 'a BatStack.t -> 'a val clear : 'a BatStack.t -> unit val copy : 'a BatStack.t -> 'a BatStack.t val is_empty : 'a BatStack.t -> bool val length : 'a BatStack.t -> int val iter : ('a -> unit) -> 'a BatStack.t -> unit type 'a enumerable = 'a t val enum : 'a BatStack.t -> 'a BatEnum.t val enum_destruct : 'a BatStack.t -> 'a BatEnum.t val of_enum : 'a BatEnum.t -> 'a BatStack.t val print : ?first:string -> ?last:string -> ?sep:string -> ('a BatInnerIO.output -> 'b -> unit) -> 'a BatInnerIO.output -> 'b BatStack.t -> unit val compare : 'a BatOrd.comp -> 'a BatStack.t BatOrd.comp val equal : 'a BatOrd.eq -> 'a BatStack.t BatOrd.eq module Exceptionless : sig val top : 'a BatStack.t -> 'a option val pop : 'a BatStack.t -> 'a option end end`