Hello Neil,

Wednesday, August 19, 2009, 2:16:06 PM, you wrote:

>> main =
>>     do
>>       done <- isEOF
>>       unless done $ do
>>               prob <- getLine
>>               test prob
>>               main

main = untilM isEOF (getLine >>= test)


-- 
Best regards,
 Bulat                            mailto:[email protected]

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

Reply via email to