From caf4092d12ce1785bf153a372609f6d64b9c19cd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 23 Jul 2019 13:06:38 +0200 Subject: [PATCH] fix: fix build --- src/Database/Esqueleto/Utils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Esqueleto/Utils.hs b/src/Database/Esqueleto/Utils.hs index 6ddf7edd3..132a11d2c 100644 --- a/src/Database/Esqueleto/Utils.hs +++ b/src/Database/Esqueleto/Utils.hs @@ -141,7 +141,7 @@ mkExistsFilter :: PathPiece a -> E.SqlExpr (E.Value Bool) mkExistsFilter query row criterias | Set.null criterias = true - | otherwise = any (E.exists . query row) criterias + | otherwise = any (E.exists . query row) $ Set.toList criterias -- | Combine several filters, using logical or anyFilter :: (Foldable f)