package zed

  1. Overview
  2. Docs
type t
type rope = t
exception Out_of_bounds
val empty : t
val make : int -> CamomileLibrary.UChar.t -> t
val init : int -> (int -> CamomileLibrary.UChar.t) -> t
val rev_init : int -> (int -> CamomileLibrary.UChar.t) -> t
val singleton : CamomileLibrary.UChar.t -> t
val length : t -> int
val is_empty : t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val of_string : string -> t
val to_string : t -> string
val get : t -> int -> CamomileLibrary.UChar.t
val append : t -> t -> t
val concat : t -> t list -> t
val sub : t -> int -> int -> t
val break : t -> int -> t * t
val before : t -> int -> t
val after : t -> int -> t
val insert : t -> int -> t -> t
val remove : t -> int -> int -> t
val replace : t -> int -> int -> t -> t
val lchop : t -> t
val rchop : t -> t
val iter : (CamomileLibrary.UChar.t -> unit) -> t -> unit
val rev_iter : (CamomileLibrary.UChar.t -> unit) -> t -> unit
val fold : (CamomileLibrary.UChar.t -> 'a -> 'a) -> t -> 'a -> 'a
val rev_fold : (CamomileLibrary.UChar.t -> 'a -> 'a) -> t -> 'a -> 'a
val iter_leaf : (Zed_utf8.t -> unit) -> t -> unit
val rev_iter_leaf : (Zed_utf8.t -> unit) -> t -> unit
val fold_leaf : (Zed_utf8.t -> 'a -> 'a) -> t -> 'a -> 'a
val rev_fold_leaf : (Zed_utf8.t -> 'a -> 'a) -> t -> 'a -> 'a
module Zip : sig ... end
module Buffer : sig ... end
module Text : sig ... end
OCaml

Innovation. Community. Security.