sql-words-0.1.4.0: Simple idea SQL keywords data constructor into OverloadedString

Copyright2013 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe
LanguageHaskell2010

Language.SQL.Keyword.Type

Description

SQL keyword representation using Haskell data constructors.

Synopsis

Documentation

data Keyword Source

Type represent SQL keywords.

Instances

Eq Keyword Source 
Read Keyword Source 
Show Keyword Source 
IsString Keyword Source

Keyword type with OverloadedString extension, can be involved same list with string literals.

selectFoo = [SELECT, "a, b, c", FROM, "foo"]
Monoid Keyword Source

Keyword default concatination separate by space.

data DString Source

Diff String type for low-cost concatination.

word :: String -> Keyword Source

Make Keyword from String

unwordsSQL :: [Keyword] -> String Source

Concatinate keywords into String like unwords