Documentation

Lean.Elab.Declaration

Instances For

    Macro that expands a declaration with a complex name into an explicit namespace block. Implementing this step as a macro means that reuse checking is handled by elabCommand.

    Instances For

      Find the common namespace for the given names. Example:

      findCommonPrefix [`Lean.Elab.eval, `Lean.mkConst, `Lean.Elab.Tactic.evalTactic]
      -- `Lean
      
      Instances For