package General

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
type 'a t = 'a SortedMap.Make(Char).t
val empty : 'a t
val of_list_first : (Char.t * 'a) list -> 'a t
val of_list_last : (Char.t * 'a) list -> 'a t
val to_list : 'a t -> (Char.t * 'a) list
val is_empty : 'a t -> bool
val size : 'a t -> int
val add : 'a t -> k:Char.t -> v:'a -> bool * 'a t
val replace : 'a t -> k:Char.t -> v:'a -> 'a t
val remove : 'a t -> k:Char.t -> bool * 'a t
val try_get : 'a t -> k:Char.t -> 'a option
val get : 'a t -> k:Char.t -> 'a