[Haskell-cafe] Execution order in IO
Jon Schneider
haskell at jschneider.net
Wed Apr 15 13:26:30 UTC 2015
Perhaps I need to be more specific.
main = do
a <- getLine
b <- getLine
Can we say "a" absolutely always receives the first line of input and if
so what makes this the case rather than "b" receiving it ? Or do things
need to be slightly more complicated to achieve this ?
Sorry it's just the engineer in me. I think once I've got this clear I'll
be happy to move on.
Jon
More information about the Haskell-Cafe
mailing list