As its name implies, the OCaml Rope library implements the
immutable
rope
datastructure [1] (with some small variations).
All meaningful String module functions
are implemented; regular expressions are planned (help
appreciated).

Here is an example use of Rope in the
interactive toploop (notice the special printer to
conveniently display ropes):