Re: operator overloading proposal

2016-05-21 Thread Isiah Meadows
For the TypeScript end, check out https://github.com/Microsoft/TypeScript/issues/5453. The aim is to produce something general purpose, because of several functional libraries and some frameworks that need this as well. Rx.js, Lodash, Underscore, and Ramda (I think) all need this. On Sat, May 21,

Re: Existential Operator / Null Propagation Operator

2016-05-21 Thread Isiah Meadows
I'm aware it's specified as a cover grammar, which is the easiest way I'm aware of to do it in a traditional declarative grammar. If you're writing a parser, though, you'll probably be using a mixture of lookahead and speculative parsing, or something to that effect, in practice, since it's faster.

Re: operator overloading proposal

2016-05-21 Thread John Lenz
The Closure Compiler type checker just special cases .bind unfortunate. My experiment to make the type checker extensible to avoid special cases (the Type Transformation Language) works but is too complex for normal usage. On May 20, 2016 7:44 PM, "Isiah Meadows" wrote: Maybe, maybe not - it lar