Alistair, Neil, Brad, Yitzchak, Bjorn,<br><br>Thanks all for your help.<br><br>-Greg<br><br><br><div><span class="gmail_quote">On 1/19/07, <b class="gmail_sendername">Björn Bringert</b> &lt;<a href="mailto:bringert@cs.chalmers.se">
bringert@cs.chalmers.se</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Greg Fitzgerald wrote:<br>&gt; I&#39;d like to write a very simple Haskell script that when given a URL,
<br>&gt; looks up the page, and returns a string of HTML. I don&#39;t see an HTTP<br>&gt; library in the standard libs, and the one in Hackage requires Windows<br>&gt; machines have GHC and MinGW to be installed and in the PATH.
<br>&gt;<br>&gt; Is there a simple way to get the contents of a webpage using Haskell on<br>&gt; a Windows box?<br><br>I agree with other posters that the Network.HTTP API should be made more<br>easy to use. I will happily accept patches for this.
<br><br>The HTTP package homepage (<a href="http://www.haskell.org/http/">http://www.haskell.org/http/</a>) mentioned the<br>GHC and MinGW requirements you cite, but those seemed to be out of date.<br>You should be able to use plain Cabal to install the HTTP package for
<br>any recent GHC or Hugs.<br><br>/Björn<br></blockquote></div><br>