[Haskell-cafe] Re: unsafeInterleaveIO respecting order of actions
Achim Schneider
barsoap at web.de
Thu Jan 1 20:30:43 EST 2009
Achim Schneider <barsoap at web.de> wrote:
> [...]
actually, even better:
main = do
acts <- unsafeInterleaveIO getActs
putStrLn "dumdidum"
sequence_ acts
, which, at least on my machine, prints dumdidum before asking for foo.
--
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.
More information about the Haskell-Cafe
mailing list