diff --git a/src/Database/Esqueleto/Utils.hs b/src/Database/Esqueleto/Utils.hs index 757f491d9..a2fcba4f8 100644 --- a/src/Database/Esqueleto/Utils.hs +++ b/src/Database/Esqueleto/Utils.hs @@ -193,7 +193,7 @@ mkExactFilter :: (PersistField a) -> E.SqlExpr (E.Value Bool) mkExactFilter = mkExactFilterWith id --- | like `mkExactFiler` but allows for conversion; convenient in conjunction with `anyFilter` and `allFilter` +-- | like `mkExactFilter` but allows for conversion; convenient in conjunction with `anyFilter` and `allFilter` mkExactFilterWith :: (PersistField b) => (a -> b) -- ^ type conversion -> (t -> E.SqlExpr (E.Value b)) -- ^ getter from query to searched element @@ -213,7 +213,7 @@ mkExactFilterLast :: (PersistField a) -> E.SqlExpr (E.Value Bool) mkExactFilterLast = mkExactFilterLastWith id --- | like `mkExactFilerLast` but allows for conversion; convenient in conjunction with `anyFilter` and `allFilter` +-- | like `mkExactFilterLast` but allows for conversion; convenient in conjunction with `anyFilter` and `allFilter` mkExactFilterLastWith :: (PersistField b) => (a -> b) -- ^ type conversion -> (t -> E.SqlExpr (E.Value b)) -- ^ getter from query to searched element @@ -234,7 +234,7 @@ mkContainsFilter :: E.SqlString a -> E.SqlExpr (E.Value Bool) mkContainsFilter = mkContainsFilterWith id --- | like `mkContainsFiler` but allows for conversion; convenient in conjunction with `anyFilter` and `allFilter` +-- | like `mkContainsFilter` but allows for conversion; convenient in conjunction with `anyFilter` and `allFilter` mkContainsFilterWith :: E.SqlString b => (a -> b) -> (t -> E.SqlExpr (E.Value b)) -- ^ getter from query to searched element