package sek

  1. Overview
  2. Docs

The submodule Emulated contains Sek-based replacements for several modules in OCaml's standard library: Array, List, Queue, Stack.

module Array : sig ... end

The submodule Array is a replacement for OCaml's standard Array module, where an array is implemented as an ephemeral sequence.

module List : sig ... end

The submodule List is a replacement for OCaml's standard List module, where a list is implemented as a persistent sequence.

module Queue : sig ... end

The submodule Queue is a replacement for OCaml's standard Queue module, where a queue is implemented as an ephemeral sequence. Elements are enqueued at the back end of the sequence and dequeued at the front end.

module Stack : sig ... end

The submodule Stack is a replacement for OCaml's standard Stack module, where a stack is implemented as an ephemeral sequence. Elements are pushed and popped at the front end of the sequence.

OCaml

Innovation. Community. Security.