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