Johannes Waldmann
unread,May 21, 2013, 12:09:28 PM5/21/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to parallel...@googlegroups.com
Johannes Waldmann <waldmann@...> writes:
> Control.Concurrent.Chan
> Control.Concurrent.STM.TChan
OK, this is partially answered by the docs -
and I was only asking since a search-engine directed me
to stm-2.2 haddocks which are somewhat terse.
Still, even stm-2.4 docs could be improved:
* readTChan :: TChan a -> STM a
Read the next value from the TChan.
* tryReadTChan :: TChan a -> STM (Maybe a)
A version of readTChan which does not retry
so I can infer only from tryReadTChan's doc
that readTChan could retry.
(of course, I can infer that also from the source)
- J.W.