LOOP + HANDLE

Glynn Clements glynn.clements@virgin.net
Wed, 11 Jun 2003 22:49:40 +0100


Filip wrote:

> So how to write function that will wait until Handle is ready for reading ??

	hWaitForInput :: Handle -> Int -> IO Bool
	hWaitForInput h t = ...

Waits until Handle h is ready for reading or t milliseconds have elapsed.

-- 
Glynn Clements <glynn.clements@virgin.net>