@[reducible, inline]
Instances For
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Lean.Compiler.LCNF.PP.ppArg Lean.Compiler.LCNF.Arg.erased = pure (Std.Format.text "◾")
- Lean.Compiler.LCNF.PP.ppArg (Lean.Compiler.LCNF.Arg.fvar fvarId) = Lean.Compiler.LCNF.PP.ppFVar fvarId
Instances For
Instances For
Instances For
Equations
Instances For
Instances For
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Compiler.LCNF.ppFunDecl decl = Lean.Compiler.LCNF.PP.run do let __do_lift ← Lean.Compiler.LCNF.PP.ppFunDecl decl pure (Lean.format "fun " ++ Lean.format __do_lift ++ Lean.format "")
Instances For
def
Lean.Compiler.LCNF.runCompilerWithoutModifyingState
{α : Type}
(x : Lean.Compiler.LCNF.CompilerM α)
:
Execute x
in CoreM
without modifying Core
s state.
This is useful if we want make sure we do not affect the next free variable id.
Equations
- Lean.Compiler.LCNF.runCompilerWithoutModifyingState x = do let s ← get tryFinally x.run (set s)
Instances For
Similar to ppDecl
, but in CoreM
, and it does not assume
decl
has already been internalized.
This function is used for debugging purposes.
Instances For
Similar to ppCode
, but in CoreM
, and it does not assume
code
has already been internalized.