[plt-dev] is there some reason that port->lines et al. don't close input port?

From: John Clements (clements at brinckerhoff.org)
Date: Mon May 24 17:06:52 EDT 2010

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



Oh dear, I sense something more general lurking out there. X->lines, accepts a file-path or a URL?

Just thinking out loud,


-------------- 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>

Posted on the dev mailing list.