
24 May
2010
24 May
'10
10:02 p.m.
U is for UTF8 module. And I will try the modules you mentioned.
Although I thought Haskell IO is lazy enough....
On Tue, May 25, 2010 at 9:46 AM, Ivan Miljenovic
On 25 May 2010 11:41, Magicloud Magiclouds
wrote: Hi, I have a file including some operation logs, in the format of the following. And I have some code to analyze it. Well, it ate all my memories. --- log: Log for item A =========== 09:10 read accountA 09:20 read accountB
Log for item B .... --- code: file <- U.readFile filename
Which module have you imported there with the `U'?
For large text files, you probably want to use either lazy Bytestrings or lazy Text values.
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
-- 竹密岂妨流水过 山高哪阻野云飞