@[reducible, inline]
Instances For
@[inline]
def Lean.Compiler.LCNF.Internalize.InternalizeM.run' {pu : Purity} {α : Type} (x : InternalizeM pu α) (state : FVarSubst pu) (ctx : Context := { }) :
Instances For
@[instance_reducible]
instance Lean.Compiler.LCNF.Internalize.instMonadFVarSubstInternalizeMTrue {pu : Purity} :
MonadFVarSubst (InternalizeM pu) pu true
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.
@[instance_reducible]
instance Lean.Compiler.LCNF.Internalize.instMonadFVarSubstStateInternalizeM {pu : Purity} :
MonadFVarSubstState (InternalizeM pu) pu
def Lean.Compiler.LCNF.Internalize.internalizeParam {pu : Purity} (p : Param pu) :
InternalizeM pu (Param pu)
Instances For
def Lean.Compiler.LCNF.Internalize.internalizeArg {pu : Purity} (arg : Arg pu) :
InternalizeM pu (Arg pu)
Instances For
def Lean.Compiler.LCNF.Internalize.internalizeArgs {pu : Purity} (args : Array (Arg pu)) :
InternalizeM pu (Array (Arg pu))
Instances For
def Lean.Compiler.LCNF.Internalize.internalizeLetDecl {pu : Purity} (decl : LetDecl pu) :
InternalizeM pu (LetDecl pu)
Instances For
partial def Lean.Compiler.LCNF.Internalize.internalizeFunDecl {pu : Purity} (decl : FunDecl pu) :
InternalizeM pu (FunDecl pu)
partial def Lean.Compiler.LCNF.Internalize.internalizeCode {pu : Purity} (code : Code pu) :
InternalizeM pu (Code pu)
def Lean.Compiler.LCNF.Internalize.internalizeCodeDecl {pu : Purity} (decl : CodeDecl pu) :
InternalizeM pu (CodeDecl pu)