package ringo

  1. Overview
  2. Docs
Bounded-length collections

Install

Dune Dependency

Authors

Maintainers

Sources

ringo-v1.1.0.tar.gz
md5=c9c5400e7ae19100b945279835ff3e5c
sha512=7f37b721e2ca32e5e96fbf8df1bbd72c9060b6826bd95a21ea81af5fdd0c1961d3d7fb41210966aac7c277ec7f91fd32e3e284b583cb02121dc589646642f5c0

Description

Published: 14 Jun 2024

README

Ringo, Aches, Aches-lwt

Caches (bounded-size, key-value or simple-value stores) and other bounded-size collections.

Ringo

Ringo is a library for bounded-size collections. These collections are parametrised by size limit. When elements are inserted beyond the size limit, another element is removed to make room.

Aches

Aches is a library for caches. It provides Value-Caches (in the Vache module) as well as Resource-Caches (in the Rache module). Unlike value caches, resources caches have a built-in clean-up mechanism and a clear ownership mechanism (to keep track of who is responsible for cleanning-up a resource).

Aches-lwt

Aches-lwt is a library for caches of Lwt-promises. It provides Lwt-promise-Caches (in the Lache module) which have a dedicated interface to avoid some common race-conditions with concurrency and caches. It also provides opinionated caches for error-management and automated cancelling of promises.

Documentation

The documentation is available in the mli files of the library.

Dependencies (2)

  1. dune >= "1.7"
  2. ocaml >= "4.08"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.