original.name="Array_Valid_1" ====== >>> main.whiley type arr is ((int|null)[] n) function read(arr x, int i) -> (int|null r) requires i >= 0 && i < |x|: // return x[i] function write(arr x, int i, int n) -> (arr r) requires i >= 0 && i < |x|: // x[i] = n // return x public export method test(): // arr a = [1,null,3] assume read(a,0) == 1 assume read(a,1) == null // assume write(a,1,2) == [1,2,3] ---