Make Ref.get return its value directly
From the discussion I started on the mailing list:
Is it possible to create or modify a Ref such that it does not contain a value?
I am asking, because if that is not possible, then Ref.get could return the value directly instead of an Option. That would be more intuitive than writing myRef.get.get in order to read the value.
Some agreement on the list ...
Is it possible to create or modify a Ref such that it does not contain a value?
I am asking, because if that is not possible, then Ref.get could return the value directly instead of an Option. That would be more intuitive than writing myRef.get.get in order to read the value.
Some agreement on the list ...
Leave a comment
on 2010-07-13 03:42 *
By Peter Vlugter
Related association with ticket #253 was added
No need to take care of this one, because all the work will be done in related #253.