7 Jul
2005
7 Jul
'05
3:57 p.m.
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:bulatz@HotPOP.com