- def: Lean.Elab.DefKind
- theorem: Lean.Elab.DefKind
- example: Lean.Elab.DefKind
- opaque: Lean.Elab.DefKind
- abbrev: Lean.Elab.DefKind
Instances For
- kind : Lean.Elab.DefKind
- ref : Lean.Syntax
- modifiers : Lean.Elab.Modifiers
- declId : Lean.Syntax
- binders : Lean.Syntax
- type? : Option Lean.Syntax
- value : Lean.Syntax
- deriving? : Option (Array Lean.Syntax)
Instances For
Instances For
Instances For
Instances For
Generate a name for an instance with the given type. Note that we elaborate the type twice. Once for producing the name, and another when elaborating the declaration.