Eta reduce.

This commit is contained in:
Kei Hibino 2014-12-10 14:43:45 +09:00
parent 7d33e26f44
commit 624763abc6

View File

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