Volker Wysk wrote:
> I get the following compiler error:
>
> Overlapping instance declarations:
> In module Database.HaskellDB.HDBRec: Database.HaskellDB.HDBRec.HasField f (RecCons f a r)
> In module Database.HaskellDB.HDBRec: Database.HaskellDB.HDBRec.HasField f (RecCons g a r)
>
> Overlapping instance declarations:
> In module Database.HaskellDB.HDBRec: Database.HaskellDB.HDBRec.SelectField f (RecCons f a r) a
> In module Database.HaskellDB.HDBRec: Database.HaskellDB.HDBRec.SelectField f (RecCons g b r) a
>
> The compiler flag -fallow-overlapping-instances is needed. I'm not sure
> what triggers the error, since the compiler doesn't tell.
Are you using "-package haskelldb"? That should turn on overlapping
instances.
If you are using "-package haskelldb" and still getting the error above,
check the extra_ghc_opts section of the output from:
$ ghc-pkg -s haskelldb
It should contain -fallow-overlapping-instances. If not, something has
gone wrong in the installation, please provide your "ghc-pkg -s
haskelldb" output.
Concerning all the other problems that you have reported, the HaskellDB
CVS repo is still not working, I expect to work on moving to SourceForge
CVS tonight.
/Bjorn
|