[Haskell-cafe] Converting String

Derek Elkins ddarius at hotpop.com
Mon Jan 26 02:58:35 EST 2004


On Mon, 26 Jan 2004 18:05:16 +1030
Alex Gontcharov <alexg005 at hotmail.com> wrote:

> Hi,
> 
> 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



More information about the Haskell-Cafe mailing list