Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a nice feature, do you know any other language that has something similar?


Scala's type aliases are pretty similar.


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: