1
Fork 0

use Parser type from Text.Parsec.String, make imports explicit

This commit is contained in:
Jake Wheat 2013-12-31 11:21:03 +02:00
parent 9d8c1badbd
commit 552d3f5383
3 changed files with 83 additions and 78 deletions
Language/SQL/SimpleSQL

View file

@ -9,8 +9,10 @@
> ) where
> import Language.SQL.SimpleSQL.Syntax
> import Text.PrettyPrint
> import Data.Maybe
> import Text.PrettyPrint (render, vcat, text, (<>), (<+>), empty, parens,
> nest, Doc, punctuate, comma, sep, quotes,
> doubleQuotes)
> import Data.Maybe (maybeToList, catMaybes)
> -- | Convert a query expr ast to concrete syntax.
> prettyQueryExpr :: QueryExpr -> String