Hacker News new | ask | show | jobs
by phillord 4266 days ago
The aliasing is just an example. The real use case involved pulling functions out of a map.

The main use of "aliasing" is to alias a namespace (to save typing) or to rename a function from one namespace where it clashes with one in local.