type
      MatchPool[N] = object # Here, N is an integer
        vals: array[N, int]
    
    var mp = MatchPool[3](vals: [2, 4, 1])
    
    
    Run

Also, can I create new MatchPool of certain int in runtime in the heap?

Reply via email to