`await` could be handled by with contextual lexing: handling `|> await` as
a single keyword.

Another solution would be to collapse the two into a variant of the
pipeline operator: `|await>`, `|!>`, ...

This could be an opportunity to revive the syntax sugar that was proposed
in http://wiki.ecmascript.org/doku.php?id=strawman:concurrency

```js
// concurrency strawman
lines = fs.readFile!('./index.txt').split('\n');
// pipeline operator
lines = './index.txt' |!> fs.readFile |> str => str.split('\n')
```
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to