mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-29 06:37:03 +03:00
Update haddocks.
This commit is contained in:
parent
0e0e7af66e
commit
6ad47d791f
@ -27,7 +27,7 @@ module Language.SQL.Keyword.Concat (
|
||||
(.=.), (.<.), (.<=.), (.>.), (.>=.), (.<>.),
|
||||
and, or, not, in',
|
||||
|
||||
-- * Uni-nary operator
|
||||
-- * Unary operator
|
||||
defineUniOp
|
||||
) where
|
||||
|
||||
@ -119,7 +119,8 @@ and = defineBinOp AND
|
||||
or :: Keyword -> Keyword -> Keyword
|
||||
or = defineBinOp OR
|
||||
|
||||
-- | Uni operator
|
||||
-- | Define unary operator on 'Keyword' type represeted by specified 'Keyword'.
|
||||
-- Result is delimited by whitespace like unwords on 'String' list.
|
||||
defineUniOp :: Keyword -> Keyword -> Keyword
|
||||
defineUniOp op e = unwords' [op, e]
|
||||
|
||||
|
@ -24,7 +24,7 @@ module Language.SQL.Keyword.ConcatString (
|
||||
(.=.), (.<.), (.<=.), (.>.), (.>=.), (.<>.),
|
||||
and, or, not, in',
|
||||
|
||||
-- * Uni-nary operator
|
||||
-- * Unary operator
|
||||
defineUniOp
|
||||
) where
|
||||
|
||||
@ -87,7 +87,7 @@ and = defineBinOp AND
|
||||
or :: String -> String -> String
|
||||
or = defineBinOp OR
|
||||
|
||||
-- | Define uni-nary operator on 'String' type represeted by specified 'Keyword'.
|
||||
-- | Define unary operator on 'String' type represeted by specified 'Keyword'.
|
||||
-- Result is delimited by whitespace like unwords on 'String' list.
|
||||
defineUniOp :: Keyword -> String -> String
|
||||
defineUniOp op e = unwords [wordShow op, e]
|
||||
|
Loading…
Reference in New Issue
Block a user