[Haskell] HaXml

Brandon Allbery allbery.b at gmail.com
Sat Nov 10 00:14:43 CET 2012


On Fri, Nov 9, 2012 at 6:04 PM, Michael Mossey <mpm at 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
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell/attachments/20121109/6ba1a9c1/attachment.htm>


More information about the Haskell mailing list