On 12 Oct, 2011,at 04:39 PM, mukesh tiwari <mukeshtiwari.ii...@gmail.com> wrote:

 When i run this program . it does not produce any thing and when i press ^C ( CTRL - C ) it produce output.
 
This is because you use hGetLine, which blocks until it sees either a newline character, or EOF.

Regards,
    Malcolm
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to