Equations
- Lean.Elab.Deriving.implicitBinderF = Lean.Parser.Term.implicitBinder
Instances For
Instances For
Equations
- Lean.Elab.Deriving.explicitBinderF = Lean.Parser.Term.explicitBinder
Instances For
Make fresh, hygienic names for every parameter and index of an inductive declaration.
For example, inductive Foo {α : Type} : Nat → Type will give something like #[`α✝, `a✝].
Equations
- One or more equations did not get rendered due to their size.
Instances For
Return the inductive declaration's type applied to the arguments in argNames.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Return implicit binder syntaxes for the given argNames. The output matches implicitBinder*.
For example, #[`foo,`bar] gives `({foo} {bar}).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Return instance binder syntaxes binding className α for every generic parameter α
of the inductive indVal for which such a binding is type-correct. argNames is expected
to provide names for the parameters (see mkInductArgNames). The output matches instBinder*.
For example, given inductive Foo {α : Type} (n : Nat) : (β : Type) → Type, where β is an index,
invoking mkInstImplicitBinders `BarClass foo #[`α, `n, `β] gives `([BarClass α]).
Equations
- One or more equations did not get rendered due to their size.
Instances For
- typeInfos : Array Lean.InductiveVal
- usePartial : Bool
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- binders : Array (Lean.TSyntax `Lean.Parser.Term.bracketedBinder)
- targetType : Lean.Term
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.