Low-level implementation of the size-bounded tree #
This file contains the basic definition implementing the functionality of the size-bounded trees.
Two tree maps are equivalent in the sense of Equiv iff all the keys and values are equal.
- impl : t.toListModel.Perm t'.toListModel
Implementation detail of the tree map
Instances For
Two tree maps are equivalent in the sense of Equiv iff all the keys and values are equal.
Equations
Instances For
instance
Std.DTreeMap.Internal.Impl.instMembershipOfOrd
{α : Type u}
{β : α → Type v}
[Ord α]
:
Membership α (Impl α β)
Equations
def
Std.DTreeMap.Internal.Impl.get?
{α : Type u}
{β : α → Type v}
[Ord α]
[LawfulEqOrd α]
(t : Impl α β)
(k : α)
:
Option (β k)
Returns the value for the key k
, or none
if such a key does not exist.
Equations
Instances For
def
Std.DTreeMap.Internal.Impl.get
{α : Type u}
{β : α → Type v}
[Ord α]
[LawfulEqOrd α]
(t : Impl α β)
(k : α)
(hlk : k ∈ t)
:
β k
Returns the value for the key k
.
Equations
Instances For
def
Std.DTreeMap.Internal.Impl.get!
{α : Type u}
{β : α → Type v}
[Ord α]
[LawfulEqOrd α]
(t : Impl α β)
(k : α)
[Inhabited (β k)]
:
β k
Returns the value for the key k
, or panics if such a key does not exist.
Equations
Instances For
def
Std.DTreeMap.Internal.Impl.getD
{α : Type u}
{β : α → Type v}
[Ord α]
[LawfulEqOrd α]
(t : Impl α β)
(k : α)
(fallback : β k)
:
β k
Returns the value for the key k
, or fallback
if such a key does not exist.
Equations
Instances For
@[irreducible]
def
Std.DTreeMap.Internal.Impl.minEntryD
{α : Type u}
{β : α → Type v}
:
Impl α β → (a : α) × β a → (a : α) × β a
Implementation detail of the tree map
Equations
Instances For
@[irreducible]
def
Std.DTreeMap.Internal.Impl.maxEntryD
{α : Type u}
{β : α → Type v}
:
Impl α β → (a : α) × β a → (a : α) × β a
Implementation detail of the tree map
Equations
Instances For
@[irreducible]
Implementation detail of the tree map
Equations
Instances For
@[irreducible]
Implementation detail of the tree map