original.name="Update_Valid_2" ====== >>> main.whiley type list is int[] function update(list l, int index, int value) -> list requires 0 <= index && index < |l|: l[index] = value return l public export method test() : int[] l = ['1', '2', '3'] assume update(l, 1, 0) == ['1',0,'3'] assume update(l, 2, 0) == ['1','2',0] l = "Hello World" assume update(l, 1, 0) == ['H',0,'l','l','o',' ','W','o','r','l','d'] assume update(l, 2, 0) == ['H','e',0,'l','o',' ','W','o','r','l','d'] ---