Comment on Nim 2.2.6parentComments−SJMG10mo`@` makes the array (stack allocated) into a sequence (heap allocated).Edit: Just read the second half of your post—I don’t think the equivalent Python code would look much different. Maybe more conciseHe could be leveraging [std/sugar](https://nim-lang.org/docs/sugar.html) to make this look cleaner.
Comments
`@` makes the array (stack allocated) into a sequence (heap allocated).
Edit: Just read the second half of your post—
He could be leveraging [std/sugar](https://nim-lang.org/docs/sugar.html) to make this look cleaner.