[Haskell-cafe] How to deal with huge text file?
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Tue May 25 04:44:57 EDT 2010
Daniel Fischer <daniel.is.fischer at web.de> writes:
> On Tuesday 25 May 2010 08:14:13, Ivan Miljenovic wrote:
>> On 25 May 2010 16:12, Magicloud Magiclouds
>>
>> <magicloud.magiclouds at gmail.com> wrote:
>> > Yes, this code works with a little hack. Thank you.
>>
>> I'm scared to ask: what pray tell is this little hack?
>
> Looking at it again, probably making it work at all, because I never
> consumed the "Log for " lines, so produced an infinite list of empty lists
> :-/
Oh, yeah, I've done that before (with custom chunking functions, etc.).
Just so you know, the split package might already have a function to do
what you want...
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list