Documentation

Lean.Compiler.LCNF.Internalize

@[reducible, inline]
Instances For
    @[implicit_reducible]

    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 {pu : Purity} (code : Code pu) (s : FVarSubst pu := ) :

    Refresh free variables ids in code, and store their declarations in the local context.

    Instances For
      def Lean.Compiler.LCNF.Decl.internalize {pu : Purity} (decl : Decl pu) (s : FVarSubst pu := ) :
      Instances For

        Create a fresh local context and internalize the given decls.

        Instances For
          Instances For