package ocaml-solo5-cross-aarch64

  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding 64-bit ARM Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.2.2.tar.gz
sha512=7a6a0e2c1c9b2b64b87eb558e36365a0d142933d406efe125bb52ba29d2d570980aec98328e93527548ef16a3e9d4142380b86d1391fed0419cd446a1b101ac1

doc/stdlib/Stdlib/Ephemeron/Kn/Bucket/index.html

Module Kn.BucketSource

Sourcetype ('k, 'd) t

A bucket is a mutable "list" of ephemerons.

Sourceval make : unit -> ('k, 'd) t

Create a new bucket.

Sourceval add : ('k, 'd) t -> 'k array -> 'd -> unit

Add an ephemeron to the bucket.

Sourceval remove : ('k, 'd) t -> 'k array -> unit

remove b k removes from b the most-recently added ephemeron with keys k, or does nothing if there is no such ephemeron.

Sourceval find : ('k, 'd) t -> 'k array -> 'd option

Returns the data of the most-recently added ephemeron with the given keys, or None if there is no such ephemeron.

Sourceval length : ('k, 'd) t -> int

Returns an upper bound on the length of the bucket.

Sourceval clear : ('k, 'd) t -> unit

Remove all ephemerons from the bucket.