gleam-lang / language-tour

👩🏽‍💻 Learn Gleam in your browser
https://tour.gleam.run/
82 stars 62 forks source link

Ambiguous wording in "function capture" page #53

Closed brettcannon closed 6 months ago

brettcannon commented 6 months ago

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.