@[inline, reducible]
Instances For
The InternalizeM
monad is a translator. It "translates" the free variables
in the input expressions and Code
, into new fresh free variables in the
local context.
def
Lean.Compiler.LCNF.Code.internalize
(code : Lean.Compiler.LCNF.Code)
(s : optParam Lean.Compiler.LCNF.FVarSubst ∅)
:
Refresh free variables ids in code
, and store their declarations in the local context.
Instances For
def
Lean.Compiler.LCNF.Decl.internalize
(decl : Lean.Compiler.LCNF.Decl)
(s : optParam Lean.Compiler.LCNF.FVarSubst ∅)
:
Instances For
Create a fresh local context and internalize the given decls.