Operator renamed like HaskellDB.

This commit is contained in:
Kei Hibino 2013-04-26 17:48:03 +09:00
parent 4b38e94230
commit 855af1173d

View File

@ -17,7 +17,7 @@ module Language.SQL.Keyword (
sepBy, parenSepBy, defineBinOp,
as, (<.>),
(<=>), (<<>>), and, or,
(.=.), (.<>.), and, or,
stringMap
) where
@ -102,11 +102,11 @@ as = defineBinOp AS
(<.>) :: Keyword -> Keyword -> Keyword
(<.>) = defineBinOp' "."
(<=>) :: Keyword -> Keyword -> Keyword
(<=>) = defineBinOp "="
(.=.) :: Keyword -> Keyword -> Keyword
(.=.) = defineBinOp "="
(<<>>) :: Keyword -> Keyword -> Keyword
(<<>>) = defineBinOp "<>"
(.<>.) :: Keyword -> Keyword -> Keyword
(.<>.) = defineBinOp "<>"
and :: Keyword -> Keyword -> Keyword
and = defineBinOp AND
@ -116,7 +116,7 @@ or = defineBinOp OR
infixl 4 `and`
infixl 3 `or`
infixl 2 <=>, <<>>
infixl 2 .=., .<>.
stringMap :: (String -> String) -> Keyword -> Keyword