You should look at Cardelli's paper on Service Combinators.
It contains a description of combinators to handle the unreliable aspects
of retrieving web pages.
I don't have a URL handy, but you should be able to find it with a quick
search.
-Alex-
On Fri, 10 Jul 1998 [EMAIL PROTECTED] wrote:
> I'm interested to hear what other people think of providing a uniform
> interface to URLs and files as a standard part of the IO library.
>
> What I have in mind is adding a function openURL that returns a
> handle, access to which starts a fetch to a disk buffer, and make sure
> that hClose on such a handle aborts any continuing fetch.
>
> Obviously sophisticated web access would require a more complex
> interface, but there is a class of programme for which nothing more is
> necessary. Like directory handling the more sophisticated stuff would
> go in a different library. If this were part of Standard Haskell I
> think it would usefully increase the appeal of the language.
>
> Any thoughts?
>
> --
> Jon Fairbairn [EMAIL PROTECTED]
>
>
>
___________________________________________________________________
S. Alexander Jacobson i2x Media
1-212-697-0184 voice 1-212-697-1427 fax