Documentation
Lean
.
Util
.
FindMVar
Search
Google site search
Lean
.
Util
.
FindMVar
source
Imports
Init
Lean.Expr
Imported by
Lean
.
FindMVar
.
Visitor
Lean
.
FindMVar
.
visit
Lean
.
FindMVar
.
main
Lean
.
Expr
.
findMVar?
source
@[inline, reducible]
abbrev
Lean
.
FindMVar
.
Visitor
:
Type
Equations
Lean.FindMVar.Visitor
=
(
Option
Lean.MVarId
→
Option
Lean.MVarId
)
Instances For
source
partial def
Lean
.
FindMVar
.
visit
(p :
Lean.MVarId
→
Bool
)
(e :
Lean.Expr
)
:
Lean.FindMVar.Visitor
source
partial def
Lean
.
FindMVar
.
main
(p :
Lean.MVarId
→
Bool
)
:
Lean.Expr
→
Lean.FindMVar.Visitor
source
@[inline]
def
Lean
.
Expr
.
findMVar?
(e :
Lean.Expr
)
(p :
Lean.MVarId
→
Bool
)
:
Option
Lean.MVarId
Equations
Lean.Expr.findMVar?
e
p
=
Lean.FindMVar.main
p
e
none
Instances For