Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
BabySourceThis library offers two flavors of binary search trees as well as building blocks that allow advanced users to construct their own custom flavors.
For height-balanced binary search trees, ready for use, please see Baby.H.Set.Make.
For weight-balanced binary search trees, ready for use, please see Baby.W.Set.Make.
The signature Baby.OrderedType describes a type equipped with a total ordering function.
The signature Baby.CORE describes the interface that must be offered by the balancing code to the rest of the balanced binary search tree library. Most operations on binary search tree are built on top of this interface, and are oblivious to the balancing criterion.
The signature Baby.SET describes an abstract data type of sets, equipped with a wide array of efficient operations.
The functor Baby.Make constructs balanced binary search trees based on a user-supplied balancing scheme. The main operation that the user is expected to provide is join.
The module Baby.H provides ready-made height-balanced binary search trees.