New Proposal: Placeholder syntax

Andrew Kaiser kaisea.rpi at
Wed Nov 28 19:23:44 UTC 2018

Do you see a way these proposals can work together? I believe they are
solving different needs. Both proposals produce a new anonymous function,
but partial application deals with currying, while the placeholder proposal
tries to prevent writing a function at all. I can actually see the two
working together:

const filenames = ['file1.txt', 'file2.txt' 'output.log' ]
const fileContainsContent = (filename, content) =>

const fileSearchers =*, ?))
const filesContainingSearch = fileSearchers.filter(searcher =>

This isn't a very useful example, but you can see how the proposals differ
accomplish different things

On Wed, Nov 28, 2018 at 1:30 PM Jordan Harband <ljharb at> wrote:

> You may be interested in the partial application proposal:
> On Wed, Nov 28, 2018 at 10:17 AM Andrew Kaiser <kaisea.rpi at>
> wrote:
>> Hi all,
>> I have created a short proposal to introduce syntactic sugar for
>> anonymous functions in a 'scala-like' manner, linked here
>> I am hoping to hear feedback on whether or not this is interesting to
>> people, as well as feedback on the proposal itself (e.g. is there a better
>> operator to use than ` * `)
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list