[Haskell-cafe] the "interact" function and Hugs/ghci on Windows ...

Justin Bailey jgbailey at gmail.com
Thu Nov 15 23:34:14 EST 2007

On Nov 15, 2007 6:25 PM, Galchin Vasili <vigalchin at gmail.com> wrote:
> Hello,
>      I have a Haskell script that contains several functions that are
> implemented in terms on "interact". When I do a "function application",
> Hugs/ghci is waiting for input from stdin. How do one denote EOF from stdin,
> so that the function evaluation can continue and do the IO () action , ie..
> write to stdout?

Usually CTRL-D or CTRL-Z.


More information about the Haskell-Cafe mailing list