GHC 7.2.2 RC 1
Nathan Howell
nathan.d.howell at gmail.com
Fri Nov 11 17:37:25 CET 2011
We're hitting something that looks similar with a Chan on 7.2.1, though
they might be related..
On Fri, Nov 11, 2011 at 4:52 AM, Simon Marlow <marlowsd at gmail.com> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20111111/0881cb57/attachment.htm>
More information about the Glasgow-haskell-users
mailing list