Hi,
getMyLine :: IO [Char]
getMyLine = do
c <- getChar
if(c == '\n')
then return ""
else cs <- getMyLine
return [c]
_______________________________________________ Haskell mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell
