Additions to Lean.Elab.Tactic.Basic #
Return expected type for the main goal, cleaning up annotations, using Lean.MVarId.getType''.
Remark: note that MVarId.getType' uses whnf instead of cleanupAnnotations, and
MVarId.getType'' also uses cleanupAnnotations
Equations
Instances For
Like done but takes a scope (e.g. a tactic name) as an argument
to produce more detailed error messages.
Equations
Instances For
def
Lean.Elab.Tactic.focusAndDoneWithScope
{α : Type}
(scope : MessageData)
(tactic : TacticM α)
:
TacticM α
Like focusAndDone but takes a scope (e.g. tactic name) as an argument to
produce more detailed error messages.