ambiguous module name Network.URI

If i import these 2 packages in a project: import Network.HTTP import qualified Network.URI as NU I get: testNetw.hs:7:18: Ambiguous module name `Network.URI': it was found in multiple packages: network-uri-2.6.0.3 network-2.4.2.3 I'am using the latest 32 bits haskell platform on Windows 7 64 bits. I need the NU.parseURI function. What can I do? Kees

On Wed, Jul 08 2015, "Kees Bleijenberg"
If i import these 2 packages in a project:
import Network.HTTP
import qualified Network.URI as NU
I get:
testNetw.hs:7:18:
Ambiguous module name `Network.URI':
it was found in multiple packages:
network-uri-2.6.0.3 network-2.4.2.3
I'am using the latest 32 bits haskell platform on Windows 7 64 bits.
I need the NU.parseURI function. What can I do?
Check out the Hackage page for network-uri: https://hackage.haskell.org/package/network-uri The parseURI function is in the version of network you are using already so there is no need to import modules from network-uri.
Kees
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-- Christopher Reichert irc: creichert gpg: C81D 18C8 862A 3618 1376 FFA5 6BFC A992 9955 929B
participants (2)
-
Christopher Reichert
-
Kees Bleijenberg