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 <ivan.miljeno...@gmail.com> wrote: > On 25 May 2010 11:41, Magicloud Magiclouds > <magicloud.magiclo...@gmail.com> 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.miljeno...@gmail.com > IvanMiljenovic.wordpress.com > -- 竹密岂妨流水过 山高哪阻野云飞 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe