We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 485b736 commit a2f44d1Copy full SHA for a2f44d1
1 file changed
Mathlib/Tactic/ToAdditive.lean
@@ -96,7 +96,7 @@ Id.run do
96
if (s.get i₁).isUpper then
97
if let some strs := endCapitalNames.find? (s.extract 0 i₁) then
98
if let some (pref, newS) := strs.findSome?
99
- fun x ↦ (s.extract i₁ s.endPos).dropPrefix? x |>.map (x, ·.toString) then
+ fun x : String ↦ (s.extract i₁ s.endPos).dropPrefix? x |>.map (x, ·.toString) then
100
return splitCase newS 0 <| (s.extract 0 i₁ ++ pref)::r
101
if !(s.get i₀).isUpper then
102
return splitCase (s.extract i₁ s.endPos) 0 <| (s.extract 0 i₁)::r
0 commit comments