(This is difficult to search for, so I thought I should ask the question.) I 
see this warning: 
    
    
    .nim(101, 23) Warning: < is deprecated [Deprecated]
          base*: array[0 .. <MSA_BASE_GROUP_LEN, align_tag_col_t] # array of 
length 5
                            ^
    
    
    Run

However, if I try to fix it: 
    
    
    foo.nim(101, 20) Error: ordinal type expected
          base*: array[0..<MSA_BASE_GROUP_LEN, align_tag_col_t] # array of 
length 5
                         ^
    
    
    Run

Should I simply subtract 1 now?

Be aware of Djikstra's opinion on ranges: 
[https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html](https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html)

Reply via email to