[plt-dev] is there some reason that port->lines et al. don't close input port?
On May 24, 2010, at 1:28 PM, Carl Eastlund wrote:
>
> John,
>
> If you want something consistent with existing functions, it sounds
> like a "with-input-from-url" would do what you want. We don't often
> have readers close a port, but we do have functions that open, use,
> and close a port all in one operation.
Going even further, how about
url->lines
?
Oh dear, I sense something more general lurking out there. X->lines, accepts a file-path or a URL?
Just thinking out loud,
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100524/1c75595c/attachment.p7s>