jfmengels/elm-review-simplify

Reproduce the available simplifications we have for Set for Dict

Open

#28 opened on Jul 16, 2022

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Elm (10 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (22 stars)
PR merge metrics
 (PR metrics pending)

Description

We have these checks for Set but we don't have them for Dict.

Help is welcome for tackling these! These don't all have to be done at the same time, so if you only want to tackle a few, that's absolutely fine. These are mostly gathered so we don't have dozens of issues.

Dict.insert x y Dict.empty
--> Dict.singleton x y

Contributor guide