return array[pos++ % array.length()] // mild mixi...
# stdlib
e
return array[pos++ % array.length()] // mild mixing of java and kotlin semantics