unsafeIOToST

Manuel M. T. Chakravarty chak at cse.unsw.edu.au
Thu Jul 5 10:28:44 EDT 2001


Rahul Bhargava <hul at progsoc.uts.edu.au> wrote,

> The unsafeIOToST definition in the ghc-5.00.2 libs doesn't appear to
> achieve the following,
> 
> unsafeIOToST :: IO a -> ST s a
> unsafeIOToST (IO io) = ST $ \ s -> (unsafeCoerce# io) s

I have already changed that after Gabi told me about the
problem you had.

Thanks,
Manuel




More information about the Glasgow-haskell-bugs mailing list