Re: allowing non-sequentiality in IO

2002-02-16 Thread D. Tweed
On Sat, 16 Feb 2002, Hal Daume III wrote: > The reason I ask is that I'm generating a FSM description file and it > doesn't matter which order I list the transitions in. I'm curious whether > I could get the program to run any faster if I don't care about order. I'm a bit confused here: assumin

allowing non-sequentiality in IO

2002-02-16 Thread Hal Daume III
Hi, In general, when working in the IO monad, it guarentees that the order of operations is the same as how it's specified. For instance: main = do putStrLn "hi" putStrLn "bye" could not possibly output "bye" before "hi". What if I don't care about this? Is there any way to tell the