Hi,
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
Rahul
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http
> I doubt how it is fixed because do not understand how do you treat
> directories.
> For any occasion, I add that the directories are
>
> D/export/ -- contains .hi files, .o, .a libraries
> D/source/ -- contains Permut.hs and other modules
> D/source/
Rahul Bhargava <[EMAIL PROTECTED]> 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
> 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
unsafeIOToST is broken in ghc-5.00.2. It'll be fixed in 5.02.
Cheers,
Simon