I have just been researching something similar for string slices. I found this 
RFC: 
[https://github.com/nim-lang/RFCs/issues/12](https://github.com/nim-lang/RFCs/issues/12)
 which lead me to this issue: 
[https://github.com/nim-lang/RFCs/issues/178](https://github.com/nim-lang/RFCs/issues/178).
 Right now openarray is the only method to do this, but better approaches are 
coming soon.

Reply via email to