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
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) => (Std.format e).pretty }
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) => (Std.format b).pretty }
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
- Lean.IR.declToString d = (Std.format d).pretty
Instances For
Equations
- Lean.IR.instToStringDecl = { toString := Lean.IR.declToString }