From 0a8efbe29acda1f8d5d293e2669aa4d83c1144a5 Mon Sep 17 00:00:00 2001 From: "Joseph C. Sible" Date: Tue, 4 Aug 2020 18:24:17 -0400 Subject: [PATCH] Handle the infix version in particular --- data/hlint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/hlint.yaml b/data/hlint.yaml index f40199082..e10eff2ca 100644 --- a/data/hlint.yaml +++ b/data/hlint.yaml @@ -241,7 +241,7 @@ - warn: {lhs: foldr (<>) mempty, rhs: mconcat} - warn: {lhs: foldr mappend mempty, rhs: mconcat} - warn: {lhs: mempty x, rhs: mempty, name: Evaluate} - - warn: {lhs: mempty x y, rhs: mempty, name: Evaluate} + - warn: {lhs: x `mempty` y, rhs: mempty, name: Evaluate, note: "Make sure you didn't mean to use mappend instead of mempty"} # TRAVERSABLES