[Haskell-cafe] State monad strictness - how?

Chris Kuklewicz haskell at list.mightyreason.com
Wed Jan 10 15:09:16 EST 2007


Dean Herington wrote:

> Third, isn't it a continuum rather than a binary choice between lazy and
> strict?  In my example, I used ($!) in the definition of (>>=), but
> that's just one flavor of strictness that was appropriate to my
> example.  Is there some way to parameterize this degree of strictness?
> 
> Dean

The r0 and rwhnf and rnf from
http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Parallel-Strategies.html
parameterize strictness.


More information about the Haskell-Cafe mailing list