package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Circular Buffer (Deque)

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

status: experimental

  • since 0.9

Underlying Array

module Array : sig ... end

The abstract type for arrays

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

An efficient byte based ring buffer

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

Makes a ring buffer module with the given array type.

module Make (X : sig ... end) : S with type Array.elt = X.t

Buffer using regular arrays

OCaml

Innovation. Community. Security.