[Haskell-cafe] Is it safe to use unsafePerformIO here?

Ross Mellgren rmm-haskell at z.odi.ac
Tue Sep 15 16:20:20 EDT 2009


Ah yeah, that too. Control.Parallel.Strategies.rnf to the rescue?

-Ross

On Sep 15, 2009, at 4:17 PM, Cristiano Paris wrote:

> On Tue, Sep 15, 2009 at 10:12 PM, Ross Mellgren <rmm- 
> haskell at z.odi.ac> wrote:
>> Wouldn't seq b only force (at minimum) the first character of the  
>> file?
>
> I think it force the evaluation of the "Cons" in the String but not
> the characters therein.
>
> Cristiano



More information about the Haskell-Cafe mailing list