package grenier

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
val create : unit -> 'a t
val clear : 'a t -> 'a t
val is_empty : 'a t -> bool
val remove : 'a t -> at:int -> len:int -> 'a t
val insert : 'a t -> at:int -> len:int -> 'a t
type 'a cursor
val member : 'a t -> 'a cursor -> bool
val compare : 'a cursor -> 'a cursor -> int
val content : 'a cursor -> 'a
val position : 'a t -> 'a cursor -> int
val put_cursor : 'a t -> at:int -> 'a -> 'a t * 'a cursor
val put_before : 'a t -> 'a cursor -> 'a -> 'a t * 'a cursor
val put_after : 'a t -> 'a cursor -> 'a -> 'a t * 'a cursor
val rem_cursor : 'a t -> 'a cursor -> 'a t
val remove_between : 'a t -> 'a cursor -> 'a cursor -> 'a t
val remove_before : 'a t -> 'a cursor -> int -> 'a t
val remove_after : 'a t -> 'a cursor -> int -> 'a t
val insert_before : 'a t -> 'a cursor -> int -> 'a t
val insert_after : 'a t -> 'a cursor -> int -> 'a t
val find_before : 'a t -> int -> 'a cursor option
val find_after : 'a t -> int -> 'a cursor option
val cursor_before : 'a t -> 'a cursor -> 'a cursor option
val cursor_after : 'a t -> 'a cursor -> 'a cursor option
val to_list : 'a t -> (int * 'a cursor) list
OCaml

Innovation. Community. Security.