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