Module CCRingBuffer

module CCRingBuffer: sig .. end

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
Ring Buffer
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
type t 
end) : S with type Array.elt = X.t and type Array.t = X.t array
Buffer using regular arrays