Read File

Jorge Adriano
Wed, 1 May 2002 12:01:21 +0100

[moving to haskell-cafe]

>  I want to read some data from a text file. I accomplished it but I wan=
t to
> read data from file as a Integer list for example text file has [1,2,3,=
> and when I read this data from file  I handeled it as string. What can =
I do
> to get it as integer list.

map read ["1","2","3"]  ::[Int]