jfmengels/elm-review-simplify
View on GitHubString.join / String.concat with a single element
Open
#336 opened on Jan 18, 2025
enhancementhelp wanted
Repository metrics
- Stars
- (22 stars)
- PR merge metrics
- (PR metrics pending)
Description
What the rule should do:
String.join "foo" [ a ] => a
String.concat [ a ] => a
Example of things the rule would not report:
String.join "foo" [ "bar", "baz" ]
String.concat [ "bar", "baz" ]
Should this be part of the Simplify rule or should it be a new rule? Part of Simplify
I am looking for:
- Someone to implement it with/for me