Alistair, Neil, Brad, Yitzchak, Bjorn,

Thanks all for your help.

-Greg


On 1/19/07, Björn Bringert <[EMAIL PROTECTED]> wrote:

Greg Fitzgerald wrote:
> I'd like to write a very simple Haskell script that when given a URL,
> looks up the page, and returns a string of HTML. I don't see an HTTP
> library in the standard libs, and the one in Hackage requires Windows
> machines have GHC and MinGW to be installed and in the PATH.
>
> Is there a simple way to get the contents of a webpage using Haskell on
> a Windows box?

I agree with other posters that the Network.HTTP API should be made more
easy to use. I will happily accept patches for this.

The HTTP package homepage (http://www.haskell.org/http/) mentioned the
GHC and MinGW requirements you cite, but those seemed to be out of date.
You should be able to use plain Cabal to install the HTTP package for
any recent GHC or Hugs.

/Björn

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to