package containers-data

  1. Overview
  2. Docs
A set of advanced datatypes for containers

Install

Dune Dependency

Authors

Maintainers

Sources

containers-3.13.1.tbz
sha256=eb9b26eb2c3cf04fc5157d256eb49c43552ccb5c59c568772d70315db9669784
sha512=7f4cf5112c8047fd789c04129745dbe9783aa94390e8983f86408053b0af637e2a9cfce1559ce466b1b6ff7c01fd52d8685f5db1d1c0dda2c0aa138f90606a50

doc/containers-data/CCRingBuffer/index.html

Module CCRingBufferSource

Circular Buffer (Deque)

Useful for IO, or as a bounded-size alternative to Queue when batch operations are needed.

status: experimental

Change in the API to provide only a bounded buffer since 1.3

  • since 0.9

Underlying Array

Sourcemodule Array : sig ... end

The abstract type for arrays

Sourcemodule type S = sig ... end
Sourcemodule Byte : S with module Array = Array.Byte

An efficient byte based ring buffer

Sourcemodule MakeFromArray (A : Array.S) : S with module Array = A

Makes a ring buffer module with the given array type

Sourcemodule Make (X : sig ... end) : S with type Array.elt = X.t and type Array.t = X.t array

Buffer using regular arrays

OCaml

Innovation. Community. Security.

On This Page
  1. Underlying Array