[Larceny-users] Request: port-closed?
Derick Eddington
derick.eddington at gmail.com
Thu Mar 19 22:50:58 EDT 2009
On Thu, 2009-03-19 at 00:05 -0700, Derick Eddington wrote:
> I need something which tells whether a port is closed or not. Does it
> already exist and I couldn't find it? If not, I request it be added.
> Ikarus, PLT, and Ypsilon provide it as port-closed?. I tried hacking a
> temporary version by catching exceptions but that doesn't seem possible
> without side-effecting the ports.
I think I'm going to use (not (or (input-port? port) (output-port?
port))) to determine if a port is closed, unless there's a problem with
that?
--
: Derick
----------------------------------------------------------------
More information about the Larceny-users
mailing list