hrzndhrn / recode

A linter with autocorrection and a refactoring tool.
MIT License
295 stars 15 forks source link

Refactor Recode.Context.traverse/2/3 #14

Open NickNeck opened 2 years ago

NickNeck commented 2 years ago

Recode.Context.traverse/3 does the same as Recode.Context.traverse/2 just with an accumulator. This two functions are coming with a bunch of code duplication. That could and should be solved in a nicer way.