Hello,
Ghc 6.10.4
HaskellDB from darcs
When I compile the library I got this:
annie:driver-hsql benkio$ runghc Setup.hs build
Preprocessing library haskelldb-hsql-0.11...
Building haskelldb-hsql-0.11...
[1 of 1] Compiling Database.HaskellDB.HSQL ( Database/HaskellDB/HSQL.hs,
dist/build/Database/HaskellDB/HSQL.o )
Database/HaskellDB/HSQL.hs:54:6:
Occurs check: cannot construct the infinite type: er = Record er
In the `dbQuery' field of a record
In the expression:
Database
{dbQuery = hsqlQuery gen connection,
dbInsert = hsqlInsert gen connection,
dbInsertQuery = hsqlInsertQuery gen connection,
dbDelete = hsqlDelete gen connection,
dbUpdate = hsqlUpdate gen connection,
dbTables = hsqlTables connection,
dbDescribe = hsqlDescribe connection,
dbTransaction = hsqlTransaction connection,
dbCreateDB = hsqlCreateDB gen connection,
dbCreateTable = hsqlCreateTable gen connection,
dbDropDB = hsqlDropDB gen connection,
dbDropTable = hsqlDropTable gen connection}
In the definition of `mkDatabase':
mkDatabase gen connection
= Database
{dbQuery = hsqlQuery gen connection,
dbInsert = hsqlInsert gen connection,
dbInsertQuery = hsqlInsertQuery gen
connection,
dbDelete = hsqlDelete gen connection,
dbUpdate = hsqlUpdate gen connection,
dbTables = hsqlTables connection,
dbDescribe = hsqlDescribe connection,
dbTransaction = hsqlTransaction connection,
dbCreateDB = hsqlCreateDB gen connection,
dbCreateTable = hsqlCreateTable gen
connection,
dbDropDB = hsqlDropDB gen connection,
dbDropTable = hsqlDropTable gen connection}
Database/HaskellDB/HSQL.hs:160:0:
Occurs check: cannot construct the infinite type: er = Record er
When generalising the type(s) for `hsqlPrimQuery'
annie:driver-hsql benkio$
thanks,
-- Benjamin
|