1
Fork 0
simple-sql-parser/Pretty.lhs
2013-12-13 12:39:26 +02:00

14 lines
335 B
Plaintext

This is the pretty printer code which takes AST values and turns them
back into SQL source text. It attempts to format the output nicely.
> module Pretty (pretty, prettyScalarExpr) where
> import Syntax
> pretty :: QueryExpr -> String
> pretty = undefined
> prettyScalarExpr :: ScalarExpr -> String
> prettyScalarExpr = undefined