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

First-class functions in GDScript #30979

Closed
rezgi opened this issue Jul 30, 2019 · 2 comments
Closed

First-class functions in GDScript #30979

rezgi opened this issue Jul 30, 2019 · 2 comments
Labels

Comments

@rezgi
Copy link

rezgi commented Jul 30, 2019

Godot version: 3.2

A follow-up of the issue GDScript: First-class functions roadmap #23 by vnen where he said in 3.2 there would be support for first-class functions, array functions map(), reduce(), filter() and short syntax for lambdas.

The issue is still open, so what about it for 3.2 ?

@KoBeWi
Copy link
Member

KoBeWi commented Jul 30, 2019

Isn't that basically a duplicate of #2684?

AFAIK, lambdas were moved to 4.0, because they need more discussion on how they should be implemented (there's a closed PR that did it wrong).

As for array methods, they could still come for 3.2 if there is a contributor willing to make them. There's a PR for filter #30874, which has high chance of being merged.

So yeah, nice status update, but closing this as duplicate.

@rezgi
Copy link
Author

rezgi commented Jul 30, 2019

Hi there. Sorry it's my first use of Github discussions and I'm still quite confused about how these threads work. I mainly wanted to update this feature request but your reply gave me plenty infos ! Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants