Example of things the rule would report:
List.filterMap (\foo -> if x then Just foo else Nothing)
--> List.filter (\foo -> x)
Example of things the rule would not report:
List.filterMap (\foo -> if x then Just (foo + 2) else Nothing)
I am looking for:
- Someone to implement it with/for me