Don’t do this in general, another thread has gone farther to consider a macro for using zero-based indexing on 1-based arrays via begin+
, and it identified notable exceptions e.g. :
, firstindex
, and any arbitrary methods, so it’s impossible to make a macro that covers them all. Offset-based indexing is only safe if you have literal integers to work with.