sig
  type 'a t
  val binary_search : ('a t, 'a) Binary_searchable_intf.binary_search
  val binary_search_segmented :
    ('a t, 'a) Binary_searchable_intf.binary_search_segmented
  val mem : ?equal:('-> '-> bool) -> 'a t -> '-> bool
  val length : 'a t -> int
  val is_empty : 'a t -> bool
  val iter : 'a t -> f:('-> unit) -> unit
  val fold : 'a t -> init:'accum -> f:('accum -> '-> 'accum) -> 'accum
  val exists : 'a t -> f:('-> bool) -> bool
  val for_all : 'a t -> f:('-> bool) -> bool
  val count : 'a t -> f:('-> bool) -> int
  val sum :
    (module Commutative_group.S with type t = 'sum) ->
    'a t -> f:('-> 'sum) -> 'sum
  val find : 'a t -> f:('-> bool) -> 'a option
  val find_map : 'a t -> f:('-> 'b option) -> 'b option
  val to_list : 'a t -> 'a list
  val to_array : 'a t -> 'a array
  val min_elt : 'a t -> cmp:('-> '-> int) -> 'a option
  val max_elt : 'a t -> cmp:('-> '-> int) -> 'a option
  val equal : 'Equal.equal -> 'a t Equal.equal
  val invariant : 'Invariant_intf.inv -> 'a t Invariant_intf.inv
  val create : ?capacity:int -> unit -> 'Core_queue.t
  val singleton : '-> 'Core_queue.t
  val enqueue : 'Core_queue.t -> '-> unit
  val dequeue : 'Core_queue.t -> 'a option
  val dequeue_exn : 'Core_queue.t -> 'a
  val peek : 'Core_queue.t -> 'a option
  val peek_exn : 'Core_queue.t -> 'a
  val clear : 'Core_queue.t -> unit
  val copy : 'Core_queue.t -> 'Core_queue.t
  val blit_transfer :
    src:'Core_queue.t -> dst:'Core_queue.t -> ?len:int -> unit -> unit
  val of_list : 'a list -> 'Core_queue.t
  val map : 'Core_queue.t -> f:('-> 'b) -> 'Core_queue.t
  val concat_map : 'Core_queue.t -> f:('-> 'b list) -> 'Core_queue.t
  val filter_map : 'Core_queue.t -> f:('-> 'b option) -> 'Core_queue.t
  val filter : 'Core_queue.t -> f:('-> bool) -> 'Core_queue.t
  val filter_inplace : 'Core_queue.t -> f:('-> bool) -> unit
  val of_array : 'a array -> 'Core_queue.t
  val get : 'Core_queue.t -> int -> 'a
  val set : 'Core_queue.t -> int -> '-> unit
  val capacity : 'Core_queue.t -> int
  val set_capacity : 'Core_queue.t -> int -> unit
  val t_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'Core_queue.t
  val sexp_of_t : ('-> Sexplib.Sexp.t) -> 'Core_queue.t -> Sexplib.Sexp.t
  val compare :
    ('-> '-> int) -> 'Core_queue.t -> 'Core_queue.t -> int
  val bin_t :
    'Bin_prot.Type_class.t -> 'Core_queue.t Bin_prot.Type_class.t
  val bin_read_t :
    'Bin_prot.Read.reader -> 'Core_queue.t Bin_prot.Read.reader
  val __bin_read_t__ :
    'Bin_prot.Read.reader -> (int -> 'Core_queue.t) Bin_prot.Read.reader
  val bin_reader_t :
    'Bin_prot.Type_class.reader ->
    'Core_queue.t Bin_prot.Type_class.reader
  val bin_size_t :
    'Bin_prot.Size.sizer -> 'Core_queue.t Bin_prot.Size.sizer
  val bin_write_t :
    'Bin_prot.Write.writer -> 'Core_queue.t Bin_prot.Write.writer
  val bin_writer_t :
    'Bin_prot.Type_class.writer ->
    'Core_queue.t Bin_prot.Type_class.writer
end