package rope

Not available on OCaml 5.5
  1. Overview
  2. Docs

Description

Ropes ("heavyweight strings") are a scalable string implementation: they are designed for efficient operation that involve the string as a whole. Operations such as concatenation, and substring take time that is nearly independent of the length of the string. Unlike strings, ropes are a reasonable representation for very long strings such as edit buffers or mail messages.

Tags

datastructure

Added to opam-repository:

README

Rope

Ropes are a scalable string implementation: they are designed for efficient operation that involve the string as a whole such as concatenation and substring. This library implements ropes for OCaml (it is rich enough to replace strings).

Version 0.6.2

Installation

The easier way to install this library is to use opam:

opam install rope

To compile the development version, you will need to install dune and then issue

dune build @install

Install with:

dune install

To run the tests, install the module Benchmark and do

dune runtest

Documentation

You can read the interface rope.mli in this repository or as HTML.

Dependencies (3)

  1. dune
  2. base-bytes
  3. ocaml >= "4.03.0" & < "5.0.0"

Dev Dependencies (1)

  1. benchmark with-test

Optional Dependencies

None

Used by (1)

  1. rlp

Conflicts

None

Build status

Results of building rope with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.6.3 n/a n/a good good good
0.6.2 (this version) good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure