How to import all identifiers from module

2022-01-11 Thread ElegantBeef
If one wants to add it in the docs they'd PR it [here](https://nim-lang.org/docs/manual.html#modules-import-statement)

How to import all identifiers from module

2022-01-11 Thread ynfle
That's for defining a const through the command line. This is not the same.

How to import all identifiers from module

2022-01-11 Thread adigitoleo
We should put it in the docs, it's static right? So it could go [here?](https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-compileminustime-define-pragmas)

How to import all identifiers from module

2022-01-10 Thread namisboss
I looks like it was implemented in 1.6.0. Here's the [blog post](https://nim-lang.org/blog/2021/10/19/version-160-released.html#private-imports-and-private-field-access).

How to import all identifiers from module

2022-01-10 Thread adigitoleo
import myModule{.all.}

How to import all identifiers from module

2022-01-10 Thread Niminem
Awesome, thanks. If you know off hand- where is the documentation for this?

How to import all identifiers from module

2022-01-10 Thread Niminem
I can't find it for the life of me, but I remember reading about a way to import all identifiers from a module (not just the exported ones mark with `*`) Anyone know where this resource is?