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.

jcc


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

Reply via email to