List.all identity [ a, True, b ]
--> List.all identity [ a, b ]
List.all not [ a, False, b ]
--> List.all not [ a, b ]
List.any identity [ a, False, b ]
--> List.any identity [ a, b ]
List.any not [ a, True, b ]
--> List.any not [ a, b ]
Bonus: Fixed a bug where List.filterMap with a non-identity function on a list with Nothing would remove the Nothing element.
as hinted at in https://github.com/jfmengels/elm-review-simplify/pull/261#discussion_r1349564444
Bonus: Fixed a bug where
List.filterMap
with a non-identity function on a list withNothing
would remove theNothing
element.