On 2014-06-19 7:31 AM, Nick Treleaven wrote:
Perhaps Maybe could implement opCast!bool, then we could do:if (auto v = ...)
That would be amazing, but maybe is used in haskell for a different purpose, so failsafe could be a more appropriate name I think:
if (auto k = tree.failsafe.left && auto v = tree.failsafe.right.leftArr.front.rightMap[k].left)
{
...
}
Would be great
