http://aruld.info/lambda-expressions-in-java-8-adopts-c-style-syntax/
Lambda expressions in Java 8 adopts C# style syntax.
On Sat, Jun 29, 2013 at 1:39 AM, Thomas Wouters wrote:
>
>
>
> On Fri, Jun 28, 2013 at 7:01 PM, Amaury Forgeot d'Arc
> wrote:
>
>> 2013/6/28 Pynix Wang
>>
>>> I want use
On Fri, Jun 28, 2013 at 7:01 PM, Amaury Forgeot d'Arc wrote:
> 2013/6/28 Pynix Wang
>
>> I want use coffeescript function syntax to write python lambda expression
>> so I modified the Grammar file.
>>
>> ```
>> atom: ('(' [yield_expr|testlist_comp|vararglist] ')' |
>>'[' [testlist_comp] '
2013/6/28 Pynix Wang
> I want use coffeescript function syntax to write python lambda expression
> so I modified the Grammar file.
>
> ```
> atom: ('(' [yield_expr|testlist_comp|vararglist] ')' |
>'[' [testlist_comp] ']' |
>'{' [dictorsetmaker] '}' |
>NAME | NUMBER | STRIN
I want use coffeescript function syntax to write python lambda expression
so I modified the Grammar file.
```
atom: ('(' [yield_expr|testlist_comp|vararglist] ')' |
'[' [testlist_comp] ']' |
'{' [dictorsetmaker] '}' |
NAME | NUMBER | STRING+ | '...' | 'None' | 'True' | 'False'