Idris2Doc : Data.Set.Internal

Data.Set.Internal

(source)
Set Internals

Definitions

Size : Type
Totality: total
Visibility: public export
dataSet : Type->Type
  A finite set of values.

Totality: total
Visibility: public export
Constructors:
Bin : Size->a->Seta->Seta->Seta
Tip : Seta

Hints:
Eqa=>Eq (Seta)
FunctorSet
Orda=>Ord (Seta)
Showa=>Show (Seta)
Show (Lista) =>Show (Seta)
singleton : a->Seta
  Wrap a single value in a set.

Totality: total
Visibility: export
size : Seta->Nat
  The number of elements in the set. O(1)

Totality: total
Visibility: export
delta : Nat
Totality: total
Visibility: export
balanceL : a->Seta->Seta->Seta
  A specialized version of balance.
balanceL is called when left subtree might have been inserted to or when
right subtree might have been deleted from.

Totality: total
Visibility: export
balanceR : a->Seta->Seta->Seta
  A specialized version of balance.
balanceR is called when right subtree might have been inserted to or when
left subtree might have been deleted from.

Totality: total
Visibility: export
insertMax : a->Seta->Seta
Totality: total
Visibility: export
insertMin : a->Seta->Seta
Totality: total
Visibility: export
minViewSure : a->Seta->Seta-> (a, Seta)
Totality: total
Visibility: export
maxViewSure : a->Seta->Seta-> (a, Seta)
Totality: total
Visibility: export
glue : Seta->Seta->Seta
  Glues two sets together (assumes that both sets are already balanced with respect to each other).

Totality: total
Visibility: export
  Utility function that maintains the balance properties of the tree.

Totality: total
Visibility: export