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
@[reducible, inline]
Equations
Instances For
@[inline]
Equations
Instances For
Name Helpers #
@[simp]
theorem
Lake.Name.isPrefixOf_append
{n m : Lean.Name}
:
¬n.hasMacroScopes = true → ¬m.hasMacroScopes = true → n.isPrefixOf (n ++ m) = true
@[simp]