Y
Hacker News
new
|
ask
|
show
|
jobs
by
steveklabnik
2924 days ago
If you have a named function, rust lets you do
a.map(succ)
as well, since functions can be used where closures can, as long as the types work.
1 comments
jeffmcmahan
2924 days ago
Same in JS
link