* s9gf4ult <[email protected]> [2013-03-18 13:07:04+0600] > Hello, I am looking for MVar which can not be null. I need some kind of > thread save atomic IO operation like I can do > with modifyMVar, but I want this variable always contain some value and > never be null. > Thanks.
Wrap it into a newtype and export only those operations that keep it non-empty. Roman _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
