Hello Christian,
Thursday, July 07, 2005, 6:55:13 PM, you wrote:
CM> Could you also insert a prompt that is shown before the lines are read?
CM> (The first prompt seems to be tricky assuming line buffering )
import System.IO
main = do
hSetBuffering stdin LineBuffering
hSetBuffering stdout LineBuffering
interact (unlines.filter(not.null).lines.('>':))
--
Best regards,
Bulat mailto:[EMAIL PROTECTED]
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell