package mm

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

Operations on ringbuffers.

module type Buffer = sig ... end

Underlying buffers of ringbuffers.

module type R = sig ... end

Signature for ringbuffer modules.

module Make (B : Buffer) : R with type buffer = B.t

Create a ringbuffer.

module Make_ext (B : Buffer) : R with type buffer = B.t

Create an extensible ringbuffer: the size of the ringbuffer is extended if write space is too small at some point.