package batteries

  1. Overview
  2. Docs
A community-maintained standard library extension

Install

Dune Dependency

Authors

Maintainers

Sources

v3.3.0.tar.gz
sha256=40d18485911e343500a5636bbf1d84e2ee32f924fe87e5fd13a37641a4d8f226
md5=fe4da12b678a82faaeda4e58492ea871

doc/batteries.unthreaded/BatConcreteQueue/index.html

Module BatConcreteQueue

type 'a cell =
  1. | Nil
  2. | Cons of {
    1. content : 'a;
    2. mutable next : 'a cell;
    }
type 'a t = {
  1. mutable length : int;
  2. mutable first : 'a cell;
  3. mutable last : 'a cell;
}
val of_abstr : 'a Queue.t -> 'a t
val to_abstr : 'a t -> 'a Queue.t
val filter_inplace : ('a -> bool) -> 'a t -> unit
OCaml

Innovation. Community. Security.