Idris2Doc : Data.Map.Internal

Data.Map.Internal

(source)
Map Internals

Definitions

Size : Type
Totality: total
Visibility: public export
dataMap : Type->Type->Type
  A finite map from keys k to values v.

Totality: total
Visibility: public export
Constructors:
Bin : Size->k->v->Mapkv->Mapkv->Mapkv
Tip : Mapkv

Hints:
Eqk=>Eqv=>Eq (Mapkv)
Foldable (Mapk)
Functor (Mapk)
Ordk=>Ordv=>Ord (Mapkv)
Showk=>Showv=>Show (Mapkv)
Show (List (k, v)) =>Show (Mapkv)
dataMinView : Type->Type->Type
Totality: total
Visibility: public export
Constructor: 
MinView' : k->a->Mapka->MinViewka

Hints:
Eq{arg:13044}=>Eq{arg:13048}=>Eq (MinView{arg:13044}{arg:13048})
Ord{arg:13044}=>Ord{arg:13048}=>Ord (MinView{arg:13044}{arg:13048})
Show{arg:13044}=>Show{arg:13048}=>Show (MinView{arg:13044}{arg:13048})
dataMaxView : Type->Type->Type
Totality: total
Visibility: public export
Constructor: 
MaxView' : k->a->Mapka->MaxViewka

Hints:
Eq{arg:13479}=>Eq{arg:13483}=>Eq (MaxView{arg:13479}{arg:13483})
Ord{arg:13479}=>Ord{arg:13483}=>Ord (MaxView{arg:13479}{arg:13483})
Show{arg:13479}=>Show{arg:13483}=>Show (MaxView{arg:13479}{arg:13483})
singleton : k->a->Mapka
  Wrap a single value in a map.

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

Totality: total
Visibility: export
balance : k->v->Mapkv->Mapkv->Mapkv
  Balances a map after the addition, deletion, or updating of a map via a new key and value.

Totality: total
Visibility: export
balanceL : k->v->Mapkv->Mapkv->Mapkv
  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 : k->v->Mapkv->Mapkv->Mapkv
  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 : k->v->Mapkv->Mapkv
Totality: total
Visibility: export
insertMin : k->v->Mapkv->Mapkv
Totality: total
Visibility: export
minViewSure : k->v->Mapkv->Mapkv->MinViewkv
Totality: total
Visibility: export
maxViewSure : k->v->Mapkv->Mapkv->MaxViewkv
Totality: total
Visibility: export
glue : Mapkv->Mapkv->Mapkv
  Glues two maps together (assumes that both maps are already balanced with respect to each other).

Totality: total
Visibility: export
link2 : Mapkv->Mapkv->Mapkv
  Utility function that maintains the balance properties of the tree.

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

Totality: total
Visibility: export