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 `List.repeat 1 --> List.singleton` #133

Closed lue-bird closed 1 year ago

lue-bird commented 1 year ago

Just like Random.list 1 --> Random.map List.singleton from #109

List.repeat 1 --> List.singleton