ericmckean / traceur-compiler

Automatically exported from code.google.com/p/traceur-compiler
Apache License 2.0
0 stars 0 forks source link

Update comprehension syntax #201

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It was agreed that we  should change the syntax for array and generator 
comprehensions to start with the for.

Before

[x for x of range()]

now

[for (x of range()) x]

Original issue reported on code.google.com by arv@chromium.org on 10 Feb 2013 at 9:57

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/traceur-compiler/source/detail?r=4c63374

Original comment by arv@chromium.org on 12 Feb 2013 at 3:02