sig
type 'a t = 'a Stdlib.Queue.t
exception Empty
val create : unit -> 'a BatQueue.t
val add : 'a -> 'a BatQueue.t -> unit
val push : 'a -> 'a BatQueue.t -> unit
val take : 'a BatQueue.t -> 'a
val take_opt : 'a BatQueue.t -> 'a option
val pop : 'a BatQueue.t -> 'a
val peek : 'a BatQueue.t -> 'a
val peek_opt : 'a BatQueue.t -> 'a option
val top : 'a BatQueue.t -> 'a
val clear : 'a BatQueue.t -> unit
val copy : 'a BatQueue.t -> 'a BatQueue.t
val is_empty : 'a BatQueue.t -> bool
val length : 'a BatQueue.t -> int
val iter : ('a -> unit) -> 'a BatQueue.t -> unit
val map : ('a -> 'b) -> 'a BatQueue.t -> 'b BatQueue.t
val filter : ('a -> bool) -> 'a BatQueue.t -> 'a BatQueue.t
val filter_map : ('a -> 'b option) -> 'a BatQueue.t -> 'b BatQueue.t
val filter_inplace : ('a -> bool) -> 'a BatQueue.t -> unit
val fold : ('b -> 'a -> 'b) -> 'b -> 'a BatQueue.t -> 'b
val transfer : 'a BatQueue.t -> 'a BatQueue.t -> unit
type 'a enumerable = 'a BatQueue.t
val enum : 'a BatQueue.t -> 'a BatEnum.t
val of_enum : 'a BatEnum.t -> 'a BatQueue.t
val to_seq : 'a BatQueue.t -> 'a Stdlib.Seq.t
val add_seq : 'a BatQueue.t -> 'a Stdlib.Seq.t -> unit
val of_seq : 'a Stdlib.Seq.t -> 'a BatQueue.t
val print :
?first:string ->
?last:string ->
?sep:string ->
('a BatInnerIO.output -> 'b -> unit) ->
'a BatInnerIO.output -> 'b BatQueue.t -> unit
val compare : 'a BatOrd.comp -> 'a BatQueue.t BatOrd.comp
val equal : 'a BatOrd.eq -> 'a BatQueue.t BatOrd.eq
module Exceptionless :
sig
val take : 'a BatQueue.t -> 'a option
val peek : 'a BatQueue.t -> 'a option
end
end