Principles of Programming Languages Final Paper
- Ken Sheedlo
- James Pfaff
- Jack Skinner
We will be discussing list comprehensions and array comprehensions in general, and array comprehensions in ECMAScript 6 (Harmony) in particular.
Harmony Wiki V8 Project Mozilla Developer Network Mozilla Harmony Tracking Opera Developer Community
The following examples can run in recent versions of Firefox.
[s.toUpperCase() for (s of ['foo', 'bar', 'car'])]
> ['FOO', 'BAR', 'CAR']
[x+1 for (x of [41, 42, 43])]
> [42, 43, 44]
- Choose topic
- Research history of list comprehensions (Python, Haskell, Coffeescript)
- Research proposals and spec development
- Research implementation status in Mozilla, V8, IE and others
- Discuss proposals and implementation in context
- Present findings