Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
@[deprecated Lean.Elab.DerivingHandler]
Deprecated - DerivingHandler
no longer assumes arguments
Instances For
def
Lean.Elab.registerDerivingHandler
(className : Lean.Name)
(handler : Lean.Elab.DerivingHandler)
:
A DerivingHandler
is called on the fully qualified names of all types it is running for
as well as the syntax of a with
argument, if present.
For example, deriving instance Foo with fooArgs for Bar, Baz
invokes
fooHandler #[`Bar, `Baz] `(fooArgs)
.
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
- ref : Lean.Syntax
- className : Lean.Name
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.DerivingClassView.applyHandlers
(view : Lean.Elab.DerivingClassView)
(declNames : Array Lean.Name)
:
Equations
- view.applyHandlers declNames = Lean.withRef view.ref (Lean.Elab.applyDerivingHandlers view.className declNames)