Mutable #
@[reducible, inline]
unsafe abbrev
Mutable.getModifyImpl
{α : Type u}
(x : Mutable α)
(f : α → α)
(hf : ∀ (a : α), f a = a)
:
α
Equations
- x.getModifyImpl f hf = x.getModifyUnsafe f
Instances For
@[reducible, inline]
unsafe abbrev
Mutable.getModify₂Impl
{α : Type u}
{β : Type v}
(x : Mutable α)
(f : α → β × α)
(hgf : ∀ (a : α), (f a).snd = a)
:
β
Equations
- x.getModify₂Impl f hgf = x.getModify₂Unsafe f