I can always stumble upon things that work, but I'm never sure if I've
got 'em right.  So, what is the idiomatic way to do this?

I think something like
> evaluate (rnf myString)

Evaluate is an action that forces the value to be evaluated. rnf (from Control.Parallel.Strategies) is 'reduce to normal form', i.e. deepSeq.

Twan
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to