Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. hidden packages and ambiguous modules (Dimitri Hendriks)
----------------------------------------------------------------------
Message: 1
Date: Fri, 6 Sep 2013 11:12:16 +0200
From: Dimitri Hendriks <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] hidden packages and ambiguous modules
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
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
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 63, Issue 7
****************************************