package rhythm

  1. Overview
  2. Docs
Data Structures and Algorithms implemented in Reason

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.1.tar.gz
md5=ab41eb14a57ef31d57b864bb01c10b19
sha512=1a3d6299b7d117f33f7811fdbe868d8bab05a9106959b09deb309860f876ec216ae760a090f5cdf40d87c2a4ff2385859e81a5fcaf25a3c3158fbcb3acf50716

doc/rhythm.lib/Rhythm/MutableArrayListCore/index.html

Module Rhythm.MutableArrayListCore

type 'el t = {
  1. mutable first : int;
  2. mutable length : int;
  3. mutable capacity : int;
  4. mutable data : 'el option array;
}
val make : unit -> 'a t
val length : 'a t -> int
val isEmpty : 'a t -> bool
val rawi : int -> 'a t -> int
val ensureCapacity : 'a t -> unit
val toList : 'el t -> 'el list
val fromList : 'el list -> 'el t
val getIndexExn : int -> 'a t -> 'a
val setIndexExn : int -> 'a -> 'a t -> unit
val addFirst : 'a -> 'a t -> 'a t
val removeFirstExn : 'a t -> 'a t
val addLast : 'a -> 'a t -> 'a t
val removeLastExn : 'a t -> 'a t
OCaml

Innovation. Community. Security.