Equations
- Lean.IR.instToFormatArg = { format := Lean.IR.formatArg }
Equations
- Lean.IR.formatArray args = Array.foldl (fun (r : Lean.Format) (a : α) => r ++ Std.Format.text " " ++ Std.format a) Lean.Format.nil args 0
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.IR.Expr) => Lean.Format.pretty (Std.format e) Std.Format.defWidth 0 }
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.FnBody) => Lean.IR.formatFnBody fnBody }
Equations
- Lean.IR.instToStringFnBody = { toString := fun (b : Lean.IR.FnBody) => Lean.Format.pretty (Std.format b) Std.Format.defWidth 0 }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.IR.instToFormatDecl = { format := fun (decl : Lean.IR.Decl) => Lean.IR.formatDecl decl }
@[export lean_ir_decl_to_string]
Equations
Instances For
Equations
- Lean.IR.instToStringDecl = { toString := Lean.IR.declToString }