I see. Thanks Michael!

On 10 November 2016 at 20:36, Michael Walker <mike@barrucadu.co.uk> wrote:
No, unless you have a third MVar to control access to the first two
(which doesn't really scale, and is the entire point of STM!)

On 10 November 2016 at 12:34, Lian Hung Hon <hon.lianhung@gmail.com> wrote:
> Dear cafe,
>
> Is it possible to atomically modify two MVars? (I know it can be done with
> TVars)
>
> Regards,
> Hon
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.



--
Michael Walker (http://www.barrucadu.co.uk)