|
From: Justin B. <jgb...@gm...> - 2010-08-17 03:54:14
|
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
>
|