Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
The_rationalist
on Jan 21, 2020
|
parent
|
context
|
favorite
| on:
Why Rust closures are somewhat hard
This is a nice feature, do you know any other language that has something similar?
Psyonic
on Jan 22, 2020
|
next
[–]
Scala's type aliases are pretty similar.
jcelerier
on Jan 22, 2020
|
prev
[–]
looks doable with C++ using :
template<typename T> using Map = std::function<T (T)>;
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: