From: Bjorn B. <d00...@dt...> - 2004-11-30 13:42:21
|
carlos andreazza wrote: > Hi there, > > I'm getting the following error message when compiling a program that uses > HaskellDB: > > # Overlapping instance declarations: > # In module Database.HaskellDB.HDBRec: HasField f (RecCons f a r) > # In module 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 > > someone can help me? I have a compiler ghc, version 6.2.2. Programs using HaskellDB must be compiled with support for overlapping instances. Compiling against the HaskellDB package should do this automatically, so perhaps the problem is that you are not using the "-package haskelldb" flag. If this is not the problem, please provide a minimal program that produces this error, and the ghc command line used to compile it. Cheers, Bjorn |