
Dear GHC team, ghc-7.4.0.20111219 puts the following problem of build-depends. docon.cabal of the DoCon project has build-depends: haskell2010, containers And ghc-7.4.0.20111219 reports DExport.hs:28:8: Could not find module `Random' It is a member of the hidden package `haskell98-2.0.0.1'. Perhaps you need to add `haskell98' to the build-depends in your .cabal file. Then, build-depends: haskell2010, haskell98, containers causes "Parse of field 'build-depends' failed". Then, build-depends: haskell98, containers causes VecMatr.hs:49:8: Could not find module `Data.List' It is a member of the hidden package `base'. Perhaps you need to add `base' to the build-depends in your .cabal file. It is a member of the hidden package `haskell2010-1.1.0.1'. Perhaps you need to add `haskell2010' to the build-depends in your .cabal file. Adding haskell2010 will cause "Parse of field 'build-depends' failed." Adding base will cause DExport.hs:26:8: Ambiguous module name `Prelude': it was found in multiple packages: base haskell98-2.0.0.1 Please, what is a reasonable way out ? Regards, ------ Sergei mechvel@botik.ru

On Thu, Dec 22, 2011 at 9:44 AM, Serge D. Mechveliani
And ghc-7.4.0.20111219 reports DExport.hs:28:8: Could not find module `Random' It is a member of the hidden package `haskell98-2.0.0.1'. Perhaps you need to add `haskell98' to the build-depends in your .cabal file.
Perhaps import System.Random instead? Same module, as far as I know, but that gets it from its "real" package. /g -- "I’m surprised you haven’t got a little purple space dog, just to ram home what an intergalactic wag you are."

On Thu, Dec 22, 2011 at 09:48:06AM -0800, J. Garrett Morris wrote:
On Thu, Dec 22, 2011 at 9:44 AM, Serge D. Mechveliani
wrote: And ghc-7.4.0.20111219 reports DExport.hs:28:8: Could not find module `Random' It is a member of the hidden package `haskell98-2.0.0.1'. Perhaps you need to add `haskell98' to the build-depends in your .cabal file.
Perhaps import System.Random instead? Same module, as far as I know, but that gets it from its "real" package.
This leads to DExport.hs:28:8: Could not find module `System.Random' ?

Hello Serge, On Thu, Dec 22, 2011 at 10:03:45PM +0400, Serge D. Mechveliani wrote:
... This leads to
DExport.hs:28:8: Could not find module `System.Random'
System.Random can be found in http://hackage.haskell.org/package/random. Best regards Thorkil
...
participants (3)
-
J. Garrett Morris
-
Serge D. Mechveliani
-
Thorkil Naur