On 8 Feb 2008, at 6:50 PM, Jonathan Cast wrote:

On 8 Feb 2008, at 6:34 PM, Ryan Ingram wrote:

import System.IO

myGetLine = hFlush stdout >> getLine

That fixes this issue, certainly (although it's superfluous; my program really does contain only a single call to getLine)...

Nevertheless, it would be nice to at least have it in the standard library; it's much more useful than any of the input functions that already exist.

Also, for some reason, this doesn't seem to be necessary inside an Emacs buffer... Do we not care about performance in that case?

jcc

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to