Davey == Davey dude [EMAIL PROTECTED] writes:
Davey Im new to Haskell, hugs in particular, and was hoping you could
Davey help me solve a problem. It should be pretty easy. I have to
Davey use hugs to create an expression data Exp = Plus Exp Exp| Sub
Davey Exp Exp| Mult Exp Exp| Power Exp Exp |
Suppose the following happens:
(1) Thread A calls readChan on an empty channel and waits
(2) Thread B puts something to the read-end of the channel using unGetChan
When a GHC program does this, both threads are blocked! Is it the
behaviour we really want for unGetChan, or should we fix the