package General

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

Innovation. Community. Security.