[Haskell-begin] Using read, reads...
Rafael Gustavo da Cunha Pereira Pinto
rafaelgcpp at gmail.com
Sun Jul 20 21:30:24 EDT 2008
Hi folks,
I am trying to make a program that reads a file which lines contain a
series of 6 integers.
-------------sample.in-------------
01 02 03 04 05 06
10 11 15 18 29 45
19 22 10 01 23 14
-----------------------------------------
right now I am using hGetLine and getting a string. Is is possible to
use read to convert this in a list of Num?
--
Rafael Gustavo da Cunha Pereira Pinto
Electronic Engineer, MSc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20080720/8f36c043/attachment.htm
More information about the Beginners
mailing list