
18 Mar
2013
18 Mar
'13
3:15 a.m.
* s9gf4ult
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