refactor: fix hlint
This commit is contained in:
parent
68a54470c9
commit
b4b55da61f
@ -62,8 +62,8 @@ hasInfix :: ( E.Esqueleto query expr backend
|
||||
hasInfix = flip isInfixOf
|
||||
|
||||
and, or :: Foldable f => f (E.SqlExpr (E.Value Bool)) -> E.SqlExpr (E.Value Bool)
|
||||
and = F.foldr (\b acc -> acc E.&&. b) true
|
||||
or = F.foldr (\b acc -> acc E.||. b) false
|
||||
and = F.foldr (E.&&.) true
|
||||
or = F.foldr (E.||.) false
|
||||
|
||||
-- | Given a test and a set of values, check whether anyone succeeds the test
|
||||
-- WARNING: SQL leaves it explicitely unspecified whether `||` is short curcuited (i.e. lazily evaluated)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user