
15 Nov
2011
15 Nov
'11
9:23 p.m.
Hi Jason,
On Tue, Nov 15, 2011 at 12:08 PM, Jason Dusek
Should I be annotating my functions with strictness, for the vector reference, for example? Should I be using STUArrays, instead?
From http://www.haskell.org/ghc/docs/latest/html/libraries/base-4.4.1.0/Control-M... "The >>= and >> operations are strict in the state (though not in values stored in the state)." which implies that modifySTRef counter (+1) is too lazy. -- Johan