sig
  type 'a t
  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 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 min_elt : 'a t -> cmp:('-> '-> int) -> 'a option
  val max_elt : 'a t -> cmp:('-> '-> int) -> 'a option
  val create : unit -> 'Linked_queue.t
  val enqueue : 'Linked_queue.t -> '-> unit
  val dequeue : 'Linked_queue.t -> 'a option
  val dequeue_exn : 'Linked_queue.t -> 'a
  val peek : 'Linked_queue.t -> 'a option
  val peek_exn : 'Linked_queue.t -> 'a
  val clear : 'Linked_queue.t -> unit
  val copy : 'Linked_queue.t -> 'Linked_queue.t
  val filter_inplace : 'Linked_queue.t -> f:('-> bool) -> unit
  val transfer : src:'Linked_queue.t -> dst:'Linked_queue.t -> unit
  val of_list : 'a list -> 'Linked_queue.t
  val to_list : 'Linked_queue.t -> 'a list
  val partial_iter :
    'Linked_queue.t -> f:('-> [ `Continue | `Stop ]) -> unit
  val map : 'Linked_queue.t -> f:('-> 'b) -> 'Linked_queue.t
  val concat_map :
    'Linked_queue.t -> f:('-> 'b list) -> 'Linked_queue.t
  val filter_map :
    'Linked_queue.t -> f:('-> 'b option) -> 'Linked_queue.t
  val filter : 'Linked_queue.t -> f:('-> bool) -> 'Linked_queue.t
  val of_array : 'a array -> 'Linked_queue.t
  val to_array : 'Linked_queue.t -> 'a array
  val fold : 'Linked_queue.t -> init:'-> f:('-> '-> 'b) -> 'b
  val singleton : '-> 'Linked_queue.t
  val t_of_sexp :
    (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'Linked_queue.t
  val sexp_of_t :
    ('-> Sexplib.Sexp.t) -> 'Linked_queue.t -> Sexplib.Sexp.t
  val bin_t :
    'Bin_prot.Type_class.t -> 'Linked_queue.t Bin_prot.Type_class.t
  val bin_read_t :
    'Bin_prot.Read.reader -> 'Linked_queue.t Bin_prot.Read.reader
  val __bin_read_t__ :
    'Bin_prot.Read.reader ->
    (int -> 'Linked_queue.t) Bin_prot.Read.reader
  val bin_reader_t :
    'Bin_prot.Type_class.reader ->
    'Linked_queue.t Bin_prot.Type_class.reader
  val bin_size_t :
    'Bin_prot.Size.sizer -> 'Linked_queue.t Bin_prot.Size.sizer
  val bin_write_t :
    'Bin_prot.Write.writer -> 'Linked_queue.t Bin_prot.Write.writer
  val bin_writer_t :
    'Bin_prot.Type_class.writer ->
    'Linked_queue.t Bin_prot.Type_class.writer
end