From: Jeremy S. <jer...@li...> - 2005-02-04 17:19:57
|
At Fri, 04 Feb 2005 15:08:24 +0100, Bjorn Bringert wrote: > > Santoemma Enrico wrote: > > Btw, is it possible that the bug 'Repeated field names don't work' is > > due to the fact that one cannot read the same field two times when > > using ODBC? This is an old odbc error that I often (still) meet. In > > haskell I strictly retrieve the record into memory before starting to > > retrieve a field, and this fixes the error. > > The problem is that the extensible record type that we created for > HaskellDB does not disallow creating a record which contains two fields > with the same label. HList, presented at Haskell Workshp 2004 has a > solution to this problem, see http://homepages.cwi.nl/~ralf/HList/paper.pdf Speaking of which, do you think that we should try to convert haskelldb to something like the scheme presented in the Hlist paper? I am not familiar enough with the internals of haskelldb yet to compare the existing scheme to the one proposed in hlist... Jeremy Shaw. -- This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender and delete the message. Thank you. |