On 1/26/12 10:01 PM, wren ng thornton wrote:
On 1/24/12 10:25 AM, Ryan Newton wrote:
This is related but somewhat tangential --

*Why isn't there a tryReadChan?* It looks like it would be implementable
with the current Chan representation in terms of tryTakeMVar. Especially
since isEmptyChan is deprecated this would be nice to have.

(A) See stm-chans:

http://hackage.haskell.org/packages/archive/stm-chans/1.2.0.1/doc/html/Control-Concurrent-STM-TChan-Compat.html

Er, whoops. I thought you said tryReadTChan.

--
Live well,
~wren

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to