base
Full standard library replacement for OCaml
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package base
-
base
-
-
base.base_internalhash_types
-
base.caml
-
base.md5
-
base.shadow_stdlib
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library base
type ('a, 'b, 'c) tree := ( 'a, 'b, 'c ) t
val empty : ( 'k, 'v, 'w ) t
val add_exn :
( 'k, 'v, 'w ) t ->
comparator:( 'k, 'w ) Comparator.t ->
key:'k ->
data:'v ->
( 'k, 'v, 'w ) t
Time complexity of add_exn
is amortized constant-time (if t
is used linearly), with a worst-case O(log(n)) time.
ON THIS PAGE
No table of contents