On Sat, Sep 13, 2008 at 7:01 PM, Arnaud Delobelle arnodel@googlemail.com wrote:
So what does:
a = (if False: 1)
evaluate to?
Just a note how this problem was solved in Nemerle language: you cannot use 'if' without 'else'. This way you always get a value.
If you want an 'if' without 'else', there is a new keyword 'when' (well, there is also 'unless') for the imperative approach.
Cheers, Peter