Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda expressions #412

Open
dzikoysk opened this issue Dec 1, 2019 · 0 comments
Open

Lambda expressions #412

dzikoysk opened this issue Dec 1, 2019 · 0 comments

Comments

@dzikoysk
Copy link
Member

dzikoysk commented Dec 1, 2019

Candidates:

// v1
(arg1, arg2) -> { log 'lambda'  }

// v2
(arg1, arg2) => { log 'lambda' }

// v3
{ arg1, arg2 -> log 'lambda' }

// v4
{ arg1, arg2 => log 'lambda' }

// v5
|arg1, arg2| -> { log 'lambda' }

// v6
|arg1, arg2| => { log 'lambda' }

// v7
| arg1, arg2 -> log 'lambda' |

// v8
| arg1, arg2 => log 'lambda' |

// v9
fn(arg1, arg2) -> { log 'lambda' }

// v10
{ |arg1, arg2| log 'lambda' }

// v11
| (arg1, arg2) log 'lambda' |

// v12
[ arg1, args -> log 'lambda' ]

// v13
[ (arg1, args) -> log 'lambda' ]

// v14
[ |arg1, args| -> log 'lambda' ]
@dzikoysk dzikoysk added this to the Release beta milestone Dec 1, 2019
@dzikoysk dzikoysk pinned this issue Aug 12, 2020
@dzikoysk dzikoysk unpinned this issue Aug 17, 2020
@dzikoysk dzikoysk pinned this issue Jan 23, 2021
@dzikoysk dzikoysk unpinned this issue Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant