[racket] Not eof evt...

From: Curtis Dutton (curtdutt at gmail.com)
Date: Sat Nov 19 12:21:21 EST 2011

I see that there is an eof-evt that goes ready once an input port hits eof.

I am in need of an event for an input port, that is ready only when a
non-eof would be read from that port, and is never ready once an eof is hit.


For some reason, I'm having difficulty composing my own (like say by using
guard-evt)...

Does anybody know of a nice way of doing this?


Thanks,
    Curtis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111119/f5779f97/attachment.html>

Posted on the users mailing list.