On Sun, Mar 31, 2013 at 5:19 PM, Ovidiu D <ovidiudeac@gmail.com> wrote:You could use:
> I would like to make this function to have the signature
> f : IO [String]
> ...such that I can get rid of the IO monad and pass the pure string list to
> the processing function.
getContents >>= lines :: IO [String]
-- Kim-Ee
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners