Hello ,
I will try to relate my problem.
it happens that when I use a module there are antinomy in fact they are "proc ... var etc" with names that already exist ...
Couldn't there be a standard that would and make this more consistent already having a full "nim" dictionary and a controller to avoid duplication ....
well, maybe i said something stupid !!!!
apart from the possibility of making an exception during an import but this is not admissible for the common
more with a standard one could directly see which proc belongs to such module ...
I may not be explicit enough:
I can make or use a module with "proc" which works but not in all cases and end up with "proc" which has the same name and do not do the same thing ... that's what I'm talking about , of course what you tell me works but not in the case I am talking about
You can qualify symbols with their module name, if that helps.
# a.nim
type int* = object
# b.nim
import a
var x: a.int
I have defined an enum Key to work in a terminal
everything worked perfectly except that I needed to use import OS which also has a definition of Key
suddenly the compiler rightly pointed out a conflict to me
This is one of the reasons why I ask questions