package rope
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=ec06f5493de29aaa368c742d15c0daa97952c2e6efa56225289389a6a65df31a
md5=a238dea21241eb3103acff6f164256a2
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.
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
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 jbuilder and then issue
jbuilder build @install
Install with:
jbuilder install
To run the tests, install the module Benchmark and do
jbuilder runtest
Documentation
You can read the interface rope.mli
in this repository or as HTML.