Derek Elkins writes: > On Mon, 26 Jan 2004 18:05:16 +1030 > Alex Gontcharov <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cl.cam.ac.uk/users/kw217/ University of Cambridge Computer Laboratory. _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
