To straight up give an example it's like this:
    
    
    type MatchPool[N: static[int]] = object
      vals: array[N, int]
    
    var mp = MatchPool[3](vals: [2, 4, 1])
    
    
    Run

Reply via email to