mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-13 17:32:35 +03:00
Eta reduce.
This commit is contained in:
parent
7d33e26f44
commit
624763abc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user