There is also newSeqWith from sequtils: <https://nim-lang.org/docs/sequtils.html#newSeqWith.t%2Cint%2Cuntyped>
Works great for me.
There is also newSeqWith from sequtils: <https://nim-lang.org/docs/sequtils.html#newSeqWith.t%2Cint%2Cuntyped>
Works great for me.