[Haskell-cafe] Simple HTTP lib for Windows?

Greg Fitzgerald garious at gmail.com
Fri Jan 19 13:52:36 EST 2007


Alistair, Neil, Brad, Yitzchak, Bjorn,

Thanks all for your help.

-Greg


On 1/19/07, Björn Bringert <bringert at cs.chalmers.se> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070119/4d94ee91/attachment.htm


More information about the Haskell-Cafe mailing list