On Fri, Nov 9, 2012 at 6:04 PM, Michael Mossey <m...@alumni.caltech.edu>wrote:

> but got
> "Ambiguous model name 'Prelude': it was found in multiple packages: base
> haskel98-2.0.0.1"
>
> This sounds like something fundamental about the Haskell packages but I
> don't know enough to know what to do.
>

Modern GHC can't mix haskell98-style flat module names like Char or IO with
the current Haskell standard's hierarchical libraries.  The first step to
fixing this is to remove the haskell98 dependency from the cabal file; the
next is to track down and replace any imported modules that are found to be
missing:  for example, Char is now Data.Char and IO is split over a number
of modules in the System.IO hierarchy.  You can use Hoogle or Hayoo
(Haskell-specific search engines) to find the module that provides a given
function.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to