package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.8.tar.gz
md5=03b80e963186e91ddac62ef645bf7fb2
sha512=c8f434808be540c16926bf03d89f394d33fc2d092f963a7b6d412481229e0a96290f1ad7c7d522415115d35426b7aa0b3fda4b991ddc321dad279d402c9a0c0b

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.