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

Ambiguous wording in "function capture" page #53

Closed
brettcannon opened this issue Mar 14, 2024 · 0 comments · Fixed by #54
Closed

Ambiguous wording in "function capture" page #53

brettcannon opened this issue Mar 14, 2024 · 0 comments · Fixed by #54

Comments

@brettcannon
Copy link
Contributor

The page says "any number of other arguments passed to the inner function", but function captures are used for "creating anonymous functions that take one argument". It took me a bit of time to realize the "any number" meant you could provide any number of other arguments passed statically to the inner function.

As I'm still learning the language I'm not sure if the term "statically" is correct, but the lack of specificity at least threw me initially.

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