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

proposal: Hope to provide arrow functions 'syntax #21786

Closed
Lizhooh opened this issue Sep 7, 2017 · 1 comment
Closed

proposal: Hope to provide arrow functions 'syntax #21786

Lizhooh opened this issue Sep 7, 2017 · 1 comment

Comments

@Lizhooh
Copy link

Lizhooh commented Sep 7, 2017

Hope to provide arrow functions 'syntax.

How do you like it?

add := func(a int, b int) int {
    return a + b
}

// arrow functions
add := (a int, b int) int => a + b
@gopherbot gopherbot added this to the Proposal milestone Sep 7, 2017
@davecheney
Copy link
Contributor

Thank you for raising this issue. This appears to be a duplicate of, or have a great deal of overlap with #21498. I am closing this issue as the other has more detail and more discussion.

@golang golang locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants