26 Jan
2004
26 Jan
'04
9:55 a.m.
Derek Elkins writes:
On Mon, 26 Jan 2004 18:05:16 +1030 Alex Gontcharov <alexg005@hotmail.com> wrote:
I'm fairly new to Haskell, I'd like to know how to convert a list of Strings of type IO [String] to Int. I used map read p, where p is a list of IO Strings ["1", "2"]
http://www.haskell.org/tutorial/ http://www.haskell.org/tutorial/io.html http://www.haskell.org/learning.html
Also http://www.haskell.org/hawiki/ThatAnnoyingIoType http://www.haskell.org/hawiki/UsingIo http://www.haskell.org/hawiki/UsingMonads --KW 8-) -- Keith Wansbrough <kw217@cl.cam.ac.uk> http://www.cl.cam.ac.uk/users/kw217/ University of Cambridge Computer Laboratory.