Copyright | 2013 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe |
Language | Haskell2010 |
Concatinations on Keyword
types
Synopsis
- unwords' :: [Keyword] -> Keyword
- sepBy :: [Keyword] -> Keyword -> Keyword
- parenSepBy :: [Keyword] -> Keyword -> Keyword
- defineBinOp :: Keyword -> Keyword -> Keyword -> Keyword
- strBinOp :: (Keyword -> Keyword -> Keyword) -> String -> String -> String
- as :: Keyword -> Keyword -> Keyword
- (<.>) :: Keyword -> Keyword -> Keyword
- (|*|) :: Keyword -> Keyword -> Keyword
- (.||.) :: Keyword -> Keyword -> Keyword
- (.=.) :: Keyword -> Keyword -> Keyword
- (.<.) :: Keyword -> Keyword -> Keyword
- (.<=.) :: Keyword -> Keyword -> Keyword
- (.>.) :: Keyword -> Keyword -> Keyword
- (.>=.) :: Keyword -> Keyword -> Keyword
- (.<>.) :: Keyword -> Keyword -> Keyword
- and :: Keyword -> Keyword -> Keyword
- or :: Keyword -> Keyword -> Keyword
- in' :: Keyword -> Keyword -> Keyword
- (<++>) :: Keyword -> Keyword -> Keyword
- fold :: (Keyword -> Keyword -> Keyword) -> [Keyword] -> Keyword
- defineUniOp :: Keyword -> Keyword -> Keyword
- paren :: Keyword -> Keyword
- strUniOp :: (Keyword -> Keyword) -> String -> String
List concatination functions
Functions to concatinate Keyword
list.
Binary operators
Binary operators on SQL. Result is concatinated into one Keyword
.
strBinOp :: (Keyword -> Keyword -> Keyword) -> String -> String -> String Source #
Define binary operator of string from Keyword
binary operator.
(|*|) :: Keyword -> Keyword -> Keyword infixr 1 Source #
Binary operator to create comma separated words.
(.||.) :: Keyword -> Keyword -> Keyword infixr 5 Source #
Binary operator for SQL string expression concatination.
and :: Keyword -> Keyword -> Keyword infixr 3 Source #
Binary AND
operator for SQL boolean expression.
(<++>) :: Keyword -> Keyword -> Keyword infixr 6 Source #
Directly concatinate SQL string without whitespaces.
:: (Keyword -> Keyword -> Keyword) | Binary operator used in fold |
-> [Keyword] | List to fold |
-> Keyword | Result |
Fold operation using binary operator with empty result of zero length case.