Closed lue-bird closed 9 months ago
Add Array.toList simplifications listed in #174
Array.toList
Array.toList Array.empty --> [] Array.toList (Array.repeat n a) --> List.repeat n a
including composition
Luckily, I was able to re-use an existing helper for the repeat.
The branch can be tried out by running:
elm-review --template jfmengels/elm-review-simplify/preview
Add
Array.toList
simplifications listed in #174including composition
Luckily, I was able to re-use an existing helper for the repeat.