> If you create a file config.nims and write a line like switch("import", 
> "sugar"), you can write Nim code without writing import sugar under the 
> directory containing that config.nims.

For me, the idea that module imports should be in the module itself is quite 
obvious.

> Are you sure making sugar built-in really improve nim?

[Yes.](https://hsto.org/webt/de/76/ib/de76ibuom2m5hxpkrrzn_bpdqgm.png)

Here's what I can add:

  * Nim comes with a std, that includes sugar. Adding sugar to `system` not 
affect to user disc space.
  * Sugar candies + `with` are macros, and will also have no effect on the size 
of the executable.
  * In do notation you can already use `->` without any imports.
  * With my suggestion, promoting the use of in-place style would be much 
easier.


Reply via email to