- visitedConsts : Lean.NameHashSet
Instances For
Instances For
unsafe def
Lean.Expr.FoldConstsImpl.fold
{α : Type}
(f : Lake.Name → α → α)
(size : USize)
(e : Lean.Expr)
(acc : α)
:
Instances For
unsafe def
Lean.Expr.FoldConstsImpl.fold.visit
{α : Type}
(f : Lake.Name → α → α)
(size : USize)
(e : Lean.Expr)
(acc : α)
:
Instances For
@[inline]
unsafe def
Lean.Expr.FoldConstsImpl.foldUnsafe
{α : Type}
(e : Lean.Expr)
(init : α)
(f : Lake.Name → α → α)
:
α
Instances For
@[implemented_by Lean.Expr.FoldConstsImpl.foldUnsafe]
Apply f
to every constant occurring in e
once.