jfmengels / elm-review-simplify

Provides elm-review rules to simplify your Elm code
https://package.elm-lang.org/packages/jfmengels/elm-review-simplify/latest/
BSD 3-Clause "New" or "Revised" License
20 stars 9 forks source link

Add `a :: List.singleton b --> [ a, b ]` simplification #151

Closed lue-bird closed 12 months ago

lue-bird commented 12 months ago

Implements #149 + test.

a :: List.singleton b --> [ a, b ] is not added to the summary because a :: [ b ] --> [ a, b ] already exists there.