1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
original.name="Array_Valid_9" ====== >>> main.whiley function f(int[] xs) -> (int r) requires |xs| > 0 ensures r >= 0 && r < |xs|: // return 0 method g(int x) -> (int r) requires x >= 0: return x public export method test(): // g(f([0])) ---