Inspired by the Perl6 pointy block short syntax (https://docs.perl6.org/type/Whatever) I like functional programming in JS. And it will be great to have even shorter syntax for lambdas (than arrow functions).
The compiler should detect special syntax and convert it to arrow functions.
Motivation: With shorter syntax it is clearer what is the intent of the code. Moreover, we do not write variable names twice. It is like when you contruct on object obj = {name: name, email: email}
you use shorter syntax obj = {name, email}
. Here it similar appoach.
Here are some examples. For every example bothe notation are the same.