[Haskell-beginners] hidden packages and ambiguous modules
Thomas Hallgren
hallgren at chalmers.se
Fri Sep 6 19:25:48 CEST 2013
Hi,
I just uploaded the package haskell98libraries [1] that you can use instead of
haskell98 to avoid this problem, i.e. you can use it together with base.
Thomas H
[1] http://hackage.haskell.org/package/haskell98libraries
On 2013-09-06 11:12 , Dimitri Hendriks wrote:
> Hi,
>
> I have ghc version 7.6.3.
> I am trying to compile some code (not mine) with
>
> $ ghc --make Main
>
> and get the message:
>
> Could not find module `Time'
> It is a member of the hidden package `haskell98-2.0.0.2'.
>
> Then I tried:
>
> $ ghc -package haskell98-2.0.0.2 --make Main
>
> resulting in
>
> Ambiguous module name `Prelude':
> it was found in multiple packages: base haskell98-2.0.0.2
>
> At this point I am stuck. How do I load the right packages without introducing ambiguities?
>
> Thanks!
>
> Greetings,
> Dimitri
>
More information about the Beginners
mailing list