jfmengels/elm-review-simplify
在 GitHub 查看String.join / String.concat with a single element
Open
#336 创建于 2025年1月18日
enhancementhelp wanted
仓库指标
- Star
- (22 star)
- PR 合并指标
- (PR 指标待抓取)
描述
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