Documentation
Lean
.
Util
.
ReplaceExpr
Search
Google site search
return to top
source
Imports
Lean.Expr
Lean.Util.PtrSet
Imported by
Lean
.
Expr
.
replaceImpl
Lean
.
Expr
.
replace
Lean
.
Expr
.
replaceNoCache
source
@[extern lean_replace_expr]
opaque
Lean
.
Expr
.
replaceImpl
(f? :
Lean.Expr
→
Option
Lean.Expr
)
(e :
Lean.Expr
)
:
Lean.Expr
source
@[inline]
def
Lean
.
Expr
.
replace
(f? :
Lean.Expr
→
Option
Lean.Expr
)
(e :
Lean.Expr
)
:
Lean.Expr
Equations
Lean.Expr.replace
f?
e
=
Lean.Expr.replaceImpl
f?
e
Instances For
source
@[specialize #[]]
def
Lean
.
Expr
.
replaceNoCache
(f? :
Lean.Expr
→
Option
Lean.Expr
)
(e :
Lean.Expr
)
:
Lean.Expr
Instances For