Closed lue-bird closed 9 months ago
Dict simplifications should now be on par with Set (except for insert)
Dict
Set
insert
-- same for foldr Dict.foldl f initial Dict.empty --> initial Dict.foldl (\_ soFar -> soFar) initial dict --> initial
Bonus: Convert existing manual Dict operation checks that exist because the function takes 2 args to more generic helpers.
Dict
simplifications should now be on par withSet
(except forinsert
)Bonus: Convert existing manual Dict operation checks that exist because the function takes 2 args to more generic helpers.