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.0.1.tar.gz
md5=11ce90fb59f3ddf2ca04d33ce971e247
sha512=a7fbd333154e8892f621000b7c852f6a3dce1aa66d6f2a16e9543cfdb479003f90eb9c02ae5e925edbe6cb4d83ce45e726c55754dfbaee7dc2a51029fb921c25

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

Module K1.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 -> 'd -> unit

Add an ephemeron to the bucket.

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

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

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

Returns the data of the most-recently added ephemeron with the given key, 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.