
26 Jan
2004
26 Jan
'04
4:55 a.m.
Derek Elkins writes:
On Mon, 26 Jan 2004 18:05:16 +1030 Alex Gontcharov
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