[Haskell-cafe] Re: Processing of large files
alexander at kogan.nnov.ru
Thu Nov 4 01:48:47 EST 2004
> You can replace
> addToFM_C (+) a x 1
> let a' = addToFM_C (+) a x 1 in
> lookupFM a' x `seq` a'
it is not strict also.
> or you can generalize that into your own strict version of addToFM_C. It's
> a little ugly, but probably gets the job done.
Institute of Applied Physics
Russian Academy of Sciences
More information about the Haskell-Cafe