Koen Claessen
Thu, 9 Aug 2001 18:38:29 +0200 (MET DST)

Keith writes:

 | So I imagine if you passed the socket as the first arg
 | to Select.hSelect, you'd get what you want.
 | SocketPrim.socketToHandle claims to do the required
 | conversion.

Yes, this works. Thanks.

(BTW, The documentation of "SocketPrim.socketToHandle"
reports the wrong type ("IOMode" argument is missing).
Forwarded to glasgow-haskell-bugs.)