sig
type 'a t
exception Empty
val create : unit -> 'a Queue.t
val add : 'a -> 'a Queue.t -> unit
val push : 'a -> 'a Queue.t -> unit
val take : 'a Queue.t -> 'a
val pop : 'a Queue.t -> 'a
val peek : 'a Queue.t -> 'a
val top : 'a Queue.t -> 'a
val clear : 'a Queue.t -> unit
val copy : 'a Queue.t -> 'a Queue.t
val is_empty : 'a Queue.t -> bool
val length : 'a Queue.t -> int
val iter : ('a -> unit) -> 'a Queue.t -> unit
val fold : ('a -> 'b -> 'a) -> 'a -> 'b Queue.t -> 'a
val transfer : 'a Queue.t -> 'a Queue.t -> unit
end
Hosted by the
* web site.
*Other names and brands may be claimed as the property
of others.