Documentation

Lean.Meta.Match.MatcherApp.Basic

def Lean.Meta.matchMatcherApp? {m : TypeType} [Monad m] [MonadEnv m] [MonadError m] (e : 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.
Equations
  • One or more equations did not get rendered due to their size.