def
Lean.Elab.Command.addInheritDocDefault
(rhs : Lean.Term)
(attrs? : Option (Lean.Syntax.TSepArray (Lean.Name.mkStr4 "Lean" "Parser" "Term" "attrInstance") ","))
:
Option (Lean.Syntax.TSepArray (Lean.Name.mkStr4 "Lean" "Parser" "Term" "attrInstance") ",")
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.Command.expandNotationItemIntoSyntaxItem :
Lean.TSyntax (Lean.Name.mkStr4 "Lean" "Parser" "Command" "notationItem") →
Lean.MacroM (Lean.TSyntax (Lean.Name.mkStr1 "stx"))
Convert notation
command lhs item into a syntax
command item
Equations
- One or more equations did not get rendered due to their size.
Convert notation
command lhs item into a pattern element
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.Command.mkSimpleDelab
(attrKind : Lean.TSyntax (Lean.Name.mkStr4 "Lean" "Parser" "Term" "attrKind"))
(pat : Lean.Term)
(qrhs : Lean.Term)
:
Try to derive a SimpleDelab
from a notation.
The notation must be of the form notation ... => c body
where c
is a declaration in the current scope and body
any syntax
that contains each variable from the LHS at most once.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.