Thomas Wouters <thomas@xs4all.net>: > Comment by tim_one: > [x if 6] should not be a legal expression but the grammar allows it today. Why shouldn't it be legal? The meaning is quite clear (either a one-element list or an empty list). It's something of a degenerate case, but I don't think degenerate cases should be excluded simply because they're degenerate. Excluding it will make both the implementation and documentation more complicated, with no benefit that I can see. Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4