
8 Feb
2008
8 Feb
'08
10:02 p.m.
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