Do you need to maintain invariants that span the two?  Put
operationally, do you want different threads to be able to access a
and b concurrently?

-m

"Chad Scherrer" <[EMAIL PROTECTED]> writes:

> When using MVars, is there a reason to prefer using MVar (a,b) over
> (MVar a, MVar b), or vice versa? I'm not sure if this is really a
> question of style, or if there are practial implications I'm missing
> one way or another. Thanks!
>
> -- 
>
> Chad Scherrer
>
> "Time flies like an arrow; fruit flies like a banana" -- Groucho Marx
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to