[Haskell-cafe] ambiguous module name Network.URI

Christopher Reichert creichert07 at gmail.com
Wed Jul 8 08:20:03 UTC 2015


On Wed, Jul 08 2015, "Kees Bleijenberg" <K.Bleijenberg at lijbrandt.nl> wrote:
> 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150708/8e3fbf3e/attachment.sig>


More information about the Haskell-Cafe mailing list