Ben Aston (2017-03-22T08:15:53.000Z)
I am looking for a champion for a partial application operator strawman.

A terse, native syntax for partial application that does not affect the target of a function will improve code consistency, clarity of intent and legibility.

Assuming `arg1` is defined:

Before:

```js
import _ from 'lodash'; 
const o = { 
 foo: _.partial(foo, arg1),
 bar: bar.bind(null, arg1)
};
```

After:

```js
const o = { 
 foo::arg1,
 bar::arg1
};
```

I am aware of another idea entitled "this binding syntax" (https://github.com/tc39/proposal-bind-operator), that uses similar operator syntax to this strawman. I have no doubt there is a better syntax for my strawman!

Regards
Ben Aston
ben at bj.ma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170322/612d134b/attachment.html>
ben at bj.ma (2017-03-22T08:20:55.933Z)
I am looking for a champion for a partial application operator strawman.

https://gist.github.com/benaston/795b644bbbc67098ec2bd388c7060826

A terse, native syntax for partial application that does not affect the target of a function will improve code consistency, clarity of intent and legibility.

Assuming `arg1` is defined:

Before:

```js
import _ from 'lodash'; 
const o = { 
 foo: _.partial(foo, arg1),
 bar: bar.bind(null, arg1)
};
```

After:

```js
const o = { 
 foo::arg1,
 bar::arg1
};
```

I am aware of another idea entitled "this binding syntax" (https://github.com/tc39/proposal-bind-operator), that uses similar operator syntax to this strawman. I have no doubt there is a better syntax for my strawman!

Ben Aston
ben at bj.ma