Open ndmitchell opened 7 years ago
Suggestion from @nilthehuman.
Instead of "Data.Foldable.any id" => Why not Data.Foldable.or ? Instead of "Data.Foldable.all id" => Why not Data.Foldable.and ?
Very sensible - in fact, I should probably let hlint know that Data.Foldable.all is Data.List.all, so it can apply the hint to all of them.
One more:
"mconcat . map f" => Why not foldMap f ?
Yep, good point.
Suggestion from @nilthehuman.
Instead of "Data.Foldable.any id" => Why not Data.Foldable.or ? Instead of "Data.Foldable.all id" => Why not Data.Foldable.and ?
Very sensible - in fact, I should probably let hlint know that Data.Foldable.all is Data.List.all, so it can apply the hint to all of them.