GHC 7.2.2 RC 1

Simon Marlow marlowsd at gmail.com
Fri Nov 11 13:52:23 CET 2011


Sorry, no.  That one has a workaround: define your own fixIO:

fixIO :: (a -> IO a) -> IO a
fixIO k = do
     m <- newEmptyMVar
     ans <- unsafeInterleaveIO (takeMVar m)
     result <- k ans
     putMVar m result
     return result

Cheers,
	Simon

On 11/11/2011 06:16, Nathan Howell wrote:
> Any chance #5421 (<<loop>> in withMVar (reproducible, but with large
> test case) could be backported to 7.2.2?
>
> -n
>
> On Sun, Nov 6, 2011 at 5:18 AM, Ian Lynagh <igloo at earth.li
> <mailto:igloo at earth.li>> wrote:
>
>     7.2.2 will be a minimal bugfix release, fixing only bugs that cannot be
>     worked around. Please let us know if you find any showstoppers.
>
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users




More information about the Glasgow-haskell-users mailing list