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.1.tar.gz
md5=d84e09c5d0abc501aa17cd502e31a038
sha512=8b832f4ada6035e80d81be0cfb7bdffb695ec67d465ed6097a144019e2b8a8f909095e78019c3da2d8181cc3cd730cd48f7519e87d3162442562103b7f36aabb

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.