Equations
- Lean.IR.instToFormatArg = { format := Lean.IR.formatArg }
Equations
- Lean.IR.formatArray args = Array.foldl (fun r a => r ++ Std.Format.text " " ++ Std.format a) Lean.Format.nil args 0 (Array.size args)
Instances For
Equations
- Lean.IR.instToFormatLitVal = { format := Lean.IR.formatLitVal }
Equations
- Lean.IR.instToFormatCtorInfo = { format := Lean.IR.formatCtorInfo }
Equations
- Lean.IR.instToFormatExpr = { format := Lean.IR.formatExpr }
Equations
- Lean.IR.instToStringExpr = { toString := fun e => Lean.Format.pretty (Std.format e) }
Equations
- Lean.IR.instToFormatIRType = { format := Lean.IR.formatIRType }
Equations
- Lean.IR.instToStringIRType = { toString := toString ∘ Std.format }
Equations
- Lean.IR.instToFormatParam = { format := Lean.IR.formatParam }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.IR.formatFnBody fnBody indent = Lean.IR.formatFnBody.loop indent fnBody
Instances For
Equations
- Lean.IR.instToFormatFnBody = { format := fun fnBody => Lean.IR.formatFnBody fnBody }
Equations
- Lean.IR.instToStringFnBody = { toString := fun b => Lean.Format.pretty (Std.format b) }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.IR.instToFormatDecl = { format := fun decl => Lean.IR.formatDecl decl }
@[export lean_ir_decl_to_string]
Equations
Instances For
Equations
- Lean.IR.instToStringDecl = { toString := Lean.IR.declToString }