I have a module split into different files, let's say f1.nim, f2.nim, f3.nim 
that stay in the myModule folder, then I have a file called index.nim which 
does 
    
    
    include f1,f2,f3
    

then I can import myModule from a file sibling to the myModule directory 
writing 
    
    
    import myModule.index as myModule
    

does some special convention when importing directories exists (like in Python 
where a file called __init__.py is searched and imported instead) so that I can 
simply write 
    
    
    import myModule
    

? 

Reply via email to