
14 Jul
2010
14 Jul
'10
5:43 p.m.
Or you can get the best of all worlds by combining all three! data User = User { userNext :: IORef (MVar (TVar User))) , userPrev :: IORef (MVar (TVar User))) } On 07/14/10 14:39, Andrew Coppin wrote:
Serguey Zefirov wrote:
Use IORef. ;)
PS MVar is better, actually
TVar is better still. ;-)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe