[Haskell-beginners] different getChar behaviour in interpeter and compiled program

Brandon Allbery allbery.b at gmail.com
Sun Oct 14 17:31:58 CEST 2012


On Sun, Oct 14, 2012 at 11:14 AM, Motiejus Jakštys <desired.mta at gmail.com>wrote:

> The behaviour is fine: right after entering a character, I get echo
> back.
>
> However, when started with runhaskell (or compiled ./getchar):
>
>     motiejus at precise> runhaskell getchar.hs
>     la<CR>
>     Entered: l
>     Entered: a
>     Entered:
>

http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-faq.htmlscroll
to the bottom.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20121014/656d6783/attachment.htm>


More information about the Beginners mailing list