var b: array[5, int]
type
ArrRef = ref array[5, int]
var c : ArrRef
echo repr(c) # nil
c = addr b # doesn't compile, says type is Array constructor, expected reference
Nim では、値渡しの代わりに参照を配列に渡すにはどうすればよいですか? 私がこれまでに持っているものについては、上記のコードを参照してください。