package batteries

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v3.5.0.tar.gz
md5=e4b70d1a716f0aaba36f419f618d0a2e
sha512=a31f1f8cf2c7c3c6c757f3bfae98ff61bb32bab6a1f1e215937df42bcfa447aad41a37edb28d7bcecb88b3838ed8bd57142bcf8e2d28e09bb538055fd8a3b72d

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.