- matcherName : Lean.Name
- matcherLevels : Array Lean.Level
- discrInfos : Array Lean.Meta.Match.DiscrInfo
- motive : Lean.Expr
Instances For
def
Lean.Meta.matchMatcherApp?
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[Lean.MonadError m]
(e : Lean.Expr)
(alsoCasesOn : Bool := false)
:
Recognizes if e
is a matcher application, and destructs it into the MatcherApp
data structure.
This can optionally also treat casesOn
recursor applications as a special case
of matcher applications.
Equations
- One or more equations did not get rendered due to their size.