
20 May
2012
20 May
'12
9:22 a.m.
Oops, sorry. The last case's behaviour was not as I expected... A correct log is below: ~~~~ ghci> sourceTChanRaw ch $$ LC.isolate 10 =$= LC.mapM_ print () () () () () () () () () () ghci> sourceTChanState ch $$ LC.isolate 10 =$= LC.mapM_ print () () () () () () () () () () ghci> sourceTChanYield ch $$ LC.isolate 10 =$= LC.mapM_ print () () () () () () () () () () *blocks* ~~~~ So again, sourceTChanYield blocks here even if it is already supplied with enough values! -- Hiromi ISHII konn.jinro@gmail.com