Re: [Haskell] putStr is not evaluated in the correct order
4 Sep
2006
4 Sep
'06
7:05 p.m.
"Andreas S" <andreas_s@hotmail.com> writes:
This works find in ghci, but the compiled code (ghc 6.4.2) executes getLine first before executing putStr. Instead of: Who are you? myself Hello, myself
I got: myself Who are you? Hello, myself
I have now fixed the WikiBook to use putStrLn instead of putStr. Sorry about that. Paul.
7297
Age (days ago)
7297
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Johnson