Documentation

Lean.Compiler.NameMangling

Equations
Instances For
    def Lean.Name.mangle (n : Name) (pre : String := "l_") :
    Equations
    Instances For

      The mangled name of the name used to create the module initialization function.

      This also used for the library name of a module plugin.

      Equations
      Instances For
        Equations
        Instances For
          Equations
          Instances For

            Assuming s has been produced by Name.mangle _ "", return the original name.

            Equations
            Instances For

              Returns the demangled version of s, if it's the result of Name.mangle _ "". Otherwise returns none.

              Equations
              Instances For