[Haskell-cafe] Performance of StateT and best practices for debugging
spam at scientician.net
Fri Aug 8 04:31:49 UTC 2014
On 2014-08-07 19:57, Kyle Hanson wrote:
> Here is the "makeBucket" function that is referenced (it is the same in
> both state and nonstate):
Just a shot in the dark, but I notice that you're using "modify" and not
"modify'" which was added in a recent version of transformers.
Strict.StateT is not always "strict enough" and you may need to use modify'.
At any rate, it's worth a shot, I think.
More information about the Haskell-Cafe