On Sat, Sep 13, 2008 at 7:01 PM, Arnaud Delobelle firstname.lastname@example.org wrote:
So what does:
a = (if False: 1)
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.