@[reducible, inline]
Move from stage 1 into stage 2.
Equations
- s.switch = Lean.SMap.switch s
Instances For
@[reducible, inline]
abbrev
Lean.SSet.fold
{α : Type u}
[BEq α]
[Hashable α]
{σ : Type u_1}
(f : σ → α → σ)
(init : σ)
(s : Lean.SSet α)
:
σ
Equations
- Lean.SSet.fold f init s = Lean.SMap.fold (fun (d : σ) (a : α) (x : Unit) => f d a) init s
Instances For
Equations
- instReprSSet = { reprPrec := fun (v : Lean.SSet α) (prec : Nat) => Repr.addAppParen (reprArg v.toList ++ Std.Format.text ".toSSet") prec }