Skip to content

Commit 77fb0a3

Browse files
authored
Fix typos in the documentation of Rel8.Expr.Eq.(/=.) (#312)
1 parent 5959c8d commit 77fb0a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/Rel8/Expr/Eq.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ infix 4 ==.
5555
-- | Test if two expressions are different (not equal).
5656
--
5757
-- This corresponds to the SQL @IS DISTINCT FROM@ operator, and will return
58-
-- @false@ when comparing two @null@ values. This differs from ordinary @=@
59-
-- which would return @null@. This operator is closer to Haskell's '=='
60-
-- operator. For an operator identical to SQL @=@, see '/=?'.
58+
-- @false@ when comparing two @null@ values. This differs from ordinary @<>@
59+
-- which would return @null@. This operator is closer to Haskell's '/='
60+
-- operator. For an operator identical to SQL @<>@, see '/=?'.
6161
(/=.) :: forall a. Sql DBEq a => Expr a -> Expr a -> Expr Bool
6262
(/=.) = case nullable @a of
6363
Null -> \ma mb -> isNull ma `ne` isNull mb ||. ma /=? mb

0 commit comments

Comments
 (0)