
Dear GHC developers, This is on ghc-7.4.0.20111219. Compiling --------------------------------------------------- {-# OPTIONS -fno-warn-duplicate-exports #-} module DExport (module DPrelude, module Categs, module SetGroup, module RingModule, module Z, module DPair, module Fraction, module Permut, module VecMatr, module Pol, module Residue, module LinAlg, module GBasis, module Partition, module AlgSymmF, module Complex, module Prelude, module List, module Ratio, module Random ) where import Complex import List hiding (minimum, maximum, sort, sortBy) import Prelude hiding (minimum, maximum, ) import Ratio ... --------------------------------------------------- ghc-7.4.0.20111219 reports (unlike ghc-7.0.1): ---------------------- runghc Setup.hs build Building docon-2.12... Preprocessing library docon-2.12... DExport.hs:26:8: Ambiguous module name `Prelude': it was found in multiple packages: base haskell98-2.0.0.1 ---------------------- Please, what is the best way out? Regards, ------ Sergei mechvel@botik.ru

On Thu, Dec 22, 2011 at 03:29:48PM +0000, Serge D. Mechveliani wrote:
DExport.hs:26:8: Ambiguous module name `Prelude': it was found in multiple packages: base haskell98-2.0.0.1 ----------------------
Please, what is the best way out?
You need to remove either the dependency on haskell98 or the one on base - a package can't depend on both.
participants (2)
-
Ross Paterson
-
Serge D. Mechveliani