mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
doc
This commit is contained in:
parent
46201b6e85
commit
6c16656da0
1 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,12 @@
|
||||||
(* This file is free software, part of containers. See file "license" for more details. *)
|
(* This file is free software, part of containers. See file "license" for more details. *)
|
||||||
|
|
||||||
(** {1 Weight-Balanced Tree} *)
|
(** {1 Weight-Balanced Tree}
|
||||||
|
|
||||||
|
Most of this comes from "implementing sets efficiently in a functional language",
|
||||||
|
Stephen Adams.
|
||||||
|
|
||||||
|
The coefficients 5/2, 3/2 for balancing come from "balancing weight-balanced trees"
|
||||||
|
*)
|
||||||
|
|
||||||
type 'a sequence = ('a -> unit) -> unit
|
type 'a sequence = ('a -> unit) -> unit
|
||||||
type 'a gen = unit -> 'a option
|
type 'a gen = unit -> 'a option
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue