Documentation

Lake.Util.Name

First tries to convert a string into a legal name. If that fails, defaults to making it a simple name (e.g., Lean.Name.mkSimple).

Equations
    Instances For
      @[inline]
      Equations
        Instances For
          instance Lake.instForInNameMapProdName_lake {m : Type u_1 → Type u_2} {α : Type} :
          Equations
            @[reducible, inline]
            abbrev Lake.OrdNameMap (α : Type u_1) :
            Type u_1
            Equations
              Instances For
                @[inline]
                Equations
                  Instances For
                    @[inline]
                    Equations
                      Instances For
                        @[reducible, inline]
                        abbrev Lake.DNameMap (α : Lean.NameType u_1) :
                        Type u_1
                        Equations
                          Instances For
                            @[inline]
                            Equations
                              Instances For

                                Name Helpers #

                                Equations
                                  Instances For
                                    @[simp]
                                    theorem Lake.Name.beq_false (m n : Lean.Name) :
                                    (m == n) = false ¬m = n
                                    def Lake.Name.quoteFrom (ref : Lean.Syntax) (n : Lean.Name) (canonical : Bool := false) :
                                    Equations
                                      Instances For