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