Wouldn't be nice to have such function?
I wanted to translate a thread example written in Ruby and realized
that it's impossible to write that function using MVar primitives
provided; and no module seems to provide an equivalent using
another kind of concurrent variable. I had to simulate mutexes
Simon Peyton Jones ([EMAIL PROTECTED]) wrote:
: | This is really a big problem. I have been strugling with it
: | myself. The safest thing to do is to use `error' (sad but
: | true). That's the only thing I can recommend:-(
:
: This is a long-standing and embarassing bug which is
: alas not quic