chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #225: Add a predicate for port open/closed status (sl


From: Chicken Trac
Subject: [Chicken-janitors] #225: Add a predicate for port open/closed status (slot 8)
Date: Sat, 01 May 2010 13:31:05 -0000

#225: Add a predicate for port open/closed status (slot 8)
-----------------------------------+----------------------------------------
 Reporter:  sjamaan                |       Owner:  Felix
     Type:  enhancement            |      Status:  new  
 Priority:  not urgent at all      |   Milestone:  4.6.0
Component:  core libraries         |     Version:  4.6.0
 Keywords:  ports, closed, status  |  
-----------------------------------+----------------------------------------
 Currently there's no way to check if a port is open or closed besides from
 performing an operation on it and checking whether it caused an exception
 or call ##sys#slot on it directly.

 It would be a good idea to add a port-closed? predicate. Here's a patch.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/225>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]