Why does this code fragment print a continous stream of b's?
I thought it should print some alternation of a's and b's.
I am using GHC 4.08.1 on Windows 98 with Cygwin.
------------
import Concurrent

main = forkIO a >> b
 where
  a = putStrLn "a" >> a
  b = putStrLn "b" >> b
-----------

    Eric Wohlstadter

Reply via email to