Lemmas about association lists #
Each operation on AssocList is specified by a lemma relating it to the corresponding
operation on List (α × β), transported along AssocList.toList.
@[simp]
theorem
Batteries.AssocList.findEntryP?_eq
{α : Type u_1}
{β : Type u_2}
(p : α → β → Bool)
(l : AssocList α β)
:
@[simp]
theorem
Batteries.AssocList.findEntry?_eq
{α : Type u_1}
{β : Type u_2}
[BEq α]
(a : α)
(l : AssocList α β)
:
theorem
Batteries.AssocList.find?_eq_findEntry?
{α : Type u_1}
{β : Type u_2}
[BEq α]
(a : α)
(l : AssocList α β)
:
@[simp]
@[simp]
@[simp]