This code works echos lines properly under GHCi, but just sucks in input when running the GHC compiled executable.
import IO
main= do
x<-hGetLine stdin
putStr x
main
Am I doing something wrong?
-Alex-
_________________________________________________________________
S. Alexander Jacobson mailto:[EMAIL PROTECTED]
tel:917-770-6565 http://alexjacobson.com
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
