<div dir="ltr">Sorry I'm late to the party, -XPackageImports is the solution to this issue: <a href="https://downloads.haskell.org/~ghc/7.10.2/docs/html/users_guide/syntax-extns.html#idp23827600">https://downloads.haskell.org/~ghc/7.10.2/docs/html/users_guide/syntax-extns.html#idp23827600</a></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 8, 2015 at 7:10 AM Christopher Reichert <<a href="mailto:creichert07@gmail.com">creichert07@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Wed, Jul 08 2015, "Kees Bleijenberg" <<a href="mailto:K.Bleijenberg@lijbrandt.nl" target="_blank">K.Bleijenberg@lijbrandt.nl</a>> wrote:<br>
> Thanks Christopher,<br>
><br>
><br>
> -----Oorspronkelijk bericht-----<br>
><br>
> Check out the Hackage page for network-uri:<br>
> <a href="https://hackage.haskell.org/package/network-uri" rel="noreferrer" target="_blank">https://hackage.haskell.org/package/network-uri</a><br>
><br>
> The parseURI function is in the version of network you are using already so<br>
> there is no need to import modules from network-uri.<br>
><br>
> ----------------------------------------<br>
><br>
> If I remove the import of Network-URI and leave the import Network.Http and<br>
> use parseURI, ghc complains:  not in scope parseURI.<br>
> Do I have to change someting in the packages?<br>
><br>
<br>
You should leave the import of Network.URI. Are you trying to build a<br>
cabal project? Did you install the network-uri package yourself?<br>
<br>
<br>
If you're creating a cabal project try adding:<br>
<br>
build-depends: network-uri < 2.6, network < 2.6<br>
<br>
Otherwise, can you describe the install steps you are taking?<br>
<br>
> Kees<br>
><br>
> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br>
--<br>
Christopher Reichert<br>
irc: creichert<br>
gpg: C81D 18C8 862A 3618 1376  FFA5 6BFC A992 9955 929B<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>