At 04:49 AM 1/26/2004, TAN Kuan Hui wrote: >So is grammar ambiguity the reason that IfExpr has a >mandatory else clause ? Yes. >Are there other design considerations ? Not really. Well, there is one justification that makes some sense. This is a functional language, every expression evaluates to something, and if the conditional expression evaluates to the empty sequence, there is some virtue to saying so explicitly. That's not much of a reason, but it will do as a post-hoc rationalization ;-> But resolving the ambiguity is important. For what it's worth, every entry in this thread is reminiscent of discussions we had at length within the Working Group. These are reasonable positions, but not new ones. JonathanReceived on Tuesday, 27 January 2004 21:30:58 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT