Hacker News new | ask | show | jobs
by hultner 2713 days ago
Looks interesting but I don’t understand if the “x as x” is mandatory? Seems overly verbose if you don’t want to import it with another name?
2 comments

That is unnecessary, I don't understand why the Readme includes it. It does nothing.
It's a relatively simple Nim code. It takes a line that starts with "import" and searches for three components: module, function and alias. If you don't provide an alias, you'll get an index error.