jfmengels/elm-review-simplify
View on GitHubReproduce the available simplifications we have for Set for Dict
Open
#28 opened on Jul 16, 2022
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