type
MatchPool[N] = object # Here, N is an integer
vals: array[N, int]var mp = MatchPool[3](vals: [2, 4, 1]) Also, can I create new MatchPool of certain int in runtime in the heap? (N is not known in compile time)
type
MatchPool[N] = object # Here, N is an integer
vals: array[N, int]var mp = MatchPool[3](vals: [2, 4, 1]) Also, can I create new MatchPool of certain int in runtime in the heap? (N is not known in compile time)