Up

Module Rope = Core_kernel.Rope

Signature

type t
val of_string : string -> t

takes O(1) time

val to_string : t -> string

takes time proportional to n+m where n is the total size of the result and m is the number of strings being concatenated

val (^) : t -> t -> t

takes O(1) time

val add_to_buffer : t -> Buffer.t -> unit

Appends the contents of the Rope at the end of a destination buffer