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

Neil Mitchell ndmitchell at gmail.com
Fri Nov 16 07:07:57 EST 2007


Hi

The released version of WinHugs does not support Ctrl+Z or Ctrl+D, but
the development builds do.

If you download:
http://haskell.org/hoogle/other/winhugs-interact-fixes-2006-oct-25.zip
and replace the WinHugs.exe with this new one then you should get that
functionality.

Thanks

Neil

On 11/16/07, Justin Bailey <jgbailey at gmail.com> wrote:
> 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.
>
> Justin
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list