Thanks, it works!

In my case, i dont need std::distance, because system.find does the job. Can it 
be implemented with slice maybe?

Another question, is there something similar to std::map in Nim? 
[https://thispointer.com/stdmap-tutorial-part-1-usage-detail-with-examples](https://thispointer.com/stdmap-tutorial-part-1-usage-detail-with-examples)/

For example, if you have 
    
    
    var s = newSeq[seq[uint32]]()
    
    
    Run

you cant do s[42].add(5) for example, with map you can do that. 

Reply via email to