17 Jun
2012
17 Jun
'12
2:10 a.m.
On 06/16/12 14:03, Robert Heumüller wrote:
Hi,
this is probably an easy question, but i simply can't figure out, why this does not work:
...
The program compiles and runs without any problems. But there is absolutely no output, when f.eg. i type "hello, world" and hit return. Why would that be?
"Return" doesn't end the input. Try Control-D, which should work on Linux at least (it send end-of-file). $ runhaskell test.hs hello, world <ctrl+d> ["hello"," world\n"]