@[reducible, inline]
Equations
- Lake.NamedArgument = Lean.TSyntax `Lean.Parser.Term.namedArgument
Instances For
@[reducible, inline]
Equations
- Lake.Argument = Lean.TSyntax `Lean.Parser.Term.argument
Equations
- Lake.instCoeTermArgument = { coe := fun (s : Lean.Term) => { raw := s.raw } }
Equations
- Lake.instCoeEllipsisArgument = { coe := fun (s : Lake.Ellipsis) => { raw := s.raw } }
Equations
- Lake.instCoeNamedArgumentArgument = { coe := fun (s : Lake.NamedArgument) => { raw := s.raw } }
@[reducible, inline]
Equations
- Lake.BinderIdent = Lean.TSyntax `Lean.Parser.Term.binderIdent
@[reducible, inline]
Equations
- Lake.TypeSpec = Lean.TSyntax `Lean.Parser.Term.typeSpec
Same as mkHole
but returns TSyntax
.
Equations
- Lake.mkHoleFrom ref = Lean.mkNode `Lean.Parser.Term.hole #[Lean.mkAtomFrom ref "_"]
Equations
- Lake.instCoeHoleTerm = { coe := fun (s : Lake.Hole) => { raw := s.raw } }
Equations
- Lake.instCoeHoleBinderIdent = { coe := fun (s : Lake.Hole) => { raw := s.raw } }
Equations
- Lake.instCoeIdentBinderIdent = { coe := fun (s : Lean.Ident) => { raw := s.raw } }
@[reducible, inline]
Equations
- Lake.BracketedBinder = Lean.TSyntax `Lean.Parser.Term.bracketedBinder
Instances For
@[reducible, inline]
Equations
- Lake.FunBinder = Lean.TSyntax `Lean.Parser.Term.funBinder
Instances For
Equations
- Lake.instCoeBinderIdentFunBinder = { coe := fun (s : Lake.BinderIdent) => { raw := s.raw } }
@[reducible, inline]
Equations
- Lake.DeclBinder = Lean.TSyntax [Lean.identKind, `Lean.Parser.Term.hole, `Lean.Parser.Term.bracketedBinder]
Instances For
@[reducible, inline]
Equations
- Lake.Binder = Lean.TSyntax `Lake.binder
Equations
- Lake.instCoeBinderIdentBinder = { coe := fun (stx : Lake.BinderIdent) => { raw := stx.raw } }
Equations
- Lake.instCoeBracketedBinderBinder = { coe := fun (stx : Lake.BracketedBinder) => { raw := stx.raw } }
Equations
- Lake.instCoeBinderDeclBinder = { coe := fun (stx : Lake.Binder) => { raw := stx.raw } }
@[reducible, inline]
Equations
- Lake.BinderModifier = Lean.TSyntax [`Lean.Parser.Term.binderTactic, `Lean.Parser.Term.binderDefault]
Equations
- Lake.instCoeDepArrowTerm = { coe := fun (stx : Lake.DepArrow) => { raw := stx.raw } }
- ref : Lean.Syntax
- id : Lean.Ident
- type : Lean.Term
- info : Lean.BinderInfo
- modifier? : Option BinderModifier
Equations
- Lake.instReprBinderSyntaxView = { reprPrec := Lake.reprBinderSyntaxView✝ }
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
- Lake.expandBinderType ref stx = if (stx.getNumArgs == 0) = true then { raw := (Lake.mkHoleFrom ref).raw } else { raw := stx[1] }
Equations
- Lake.expandBinderModifier optBinderModifier = Option.map (fun (x : Lean.Syntax) => { raw := x }) optBinderModifier.getOptional?
Equations
- One or more equations did not get rendered due to their size.
@[inline]
Equations
- Lake.expandBinder stx = Lake.expandBinderCore #[] stx
Equations
- Lake.expandBinders stxs = Array.foldlM Lake.expandBinderCore #[] stxs
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
- Lake.mkDepArrow binders res = Array.foldl (fun (r : Lean.Term) (v : Lake.BinderSyntaxView) => { raw := (Lake.BinderSyntaxView.mkDepArrow r v).raw }) res binders
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.