Remove redundant syntax elements in doc examples.

This commit is contained in:
Kei Hibino 2014-12-10 14:40:59 +09:00
parent 1105c7b235
commit 7d33e26f44
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ connect :: IO Connection
connect = connectPostgreSQL "dbname=testdb"
defineTable :: [(String, TypeQ)] -> String -> String -> [ConName] -> Q [Dec]
defineTable tmap scm tbl derives = do
defineTable tmap scm tbl derives =
defineTableFromDB
connect
(driverPostgreSQL { typeMap = tmap })

View File

@ -34,7 +34,7 @@ import DataSource (connect)
import Database.HDBC.Record.Query (runQuery)
import Database.HDBC.Session (withConnectionIO, handleSqlError')
allAccount :: Relation () (Account)
allAccount :: Relation () Account
allAccount =
relation
[ a