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]