jfmengels/elm-review-simplify

String.join / String.concat with a single element

Open

#336 创建于 2025年1月18日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Elm (10 fork)github user discovery
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

贡献者指南