Thanks...such that I can get rid of the IO monad and pass the pure string list to the processing function.I have the function f which reads lines form the stdin and looks like this:
f :: [IO String]
f = getLine : f
What I don't like is the fact that the line processing I'm doing will have to be in the IO MonadI would like to make this function to have the signature
f : IO [String]
Can I do this?
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Tony Morris http://tmorris.net/