From: Justin B. <jgb...@gm...> - 2010-08-19 15:49:03
|
Don't use the darcs version - it's very unstable. I recommend rolling back to the 0.14 tag. On Wed, Aug 18, 2010 at 10:54 PM, Benjamin Perez <jos...@gm...> wrote: > great! thank you so much, the HDBC version is 2.2.6.1 and haskelldb from > darcs version 1.0 > > I'm test haskelldb to migrate my databases. > > On Mon, 2010-08-16 at 20:53 -0700, Justin Bailey wrote: >> HSQL isn't support anymore, unless someone wants to pick it up. I >> suggest using HDBC. Make sure you are building 0.14 release, as well. >> >> On Mon, Aug 16, 2010 at 2:56 PM, Benjamin Perez <jos...@gm...> wrote: >> > 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 >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > This SF.net email is sponsored by >> > >> > Make an app they can't live without >> > Enter the BlackBerry Developer Challenge >> > http://p.sf.net/sfu/RIM-dev2dev >> > _______________________________________________ >> > Haskelldb-users mailing list >> > Has...@li... >> > https://lists.sourceforge.net/lists/listinfo/haskelldb-users >> > >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by >> >> Make an app they can't live without >> Enter the BlackBerry Developer Challenge >> http://p.sf.net/sfu/RIM-dev2dev >> _______________________________________________ >> Haskelldb-users mailing list >> Has...@li... >> https://lists.sourceforge.net/lists/listinfo/haskelldb-users > > > |