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

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

Language.SQL.Keyword.Type

Description

SQL keyword representation using Haskell data constructors.

Synopsis

Documentation

data Keyword Source

Type represent SQL keywords.

Instances

Read Keyword 
Show Keyword 
IsString Keyword

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

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

Keyword default concatination separate by space.

word :: String -> Keyword Source

Make Keyword from String

unwordsSQL :: [Keyword] -> String Source

Concatinate keywords into String like unwords