Skip to content

Commit

Permalink
Use "user" not "product" in documentation
Browse files Browse the repository at this point in the history
because the term "product" was confused for the type theory term:

#404 (comment)
  • Loading branch information
tomjaguarpaw committed Aug 29, 2024
1 parent f59dc6b commit 37ab65d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Opaleye/Operators.hs
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ sqlLength (Column e) = Column (HPQ.FunExpr "length" [e])

-- | 'in_' is designed to be used in prefix form.
--
-- 'in_' @validProducts@ @product@ checks whether @product@ is a valid
-- product. 'in_' @validProducts@ is a function which checks whether
-- a product is a valid product.
-- 'in_' @validUsers@ @user@ checks whether @user@ is a valid user.
-- 'in_' @validUsers@ is a function which checks whether a user is a
-- valid user.
in_ :: (Functor f, F.Foldable f) => f (Field a) -> Field a -> F.Field T.SqlBool
in_ fcas (Column a) = case NEL.nonEmpty (F.toList fcas) of
Nothing -> T.sqlBool False
Expand Down

0 comments on commit 37ab65d

Please sign in to comment.