Vec.get: def of bend-lawful-stdlib@0.1.0.0 Import: import bend-lawful-stdlib@0.1.0.0/src/vec.bend as Vec Lines 31-41 of bend-lawful-stdlib@0.1.0.0/src/vec.bend: https://jend.leeeet.dev/read.txt?path=bend-lawful-stdlib@0.1.0.0/src/vec.bend&start_line=31&end_line=41 import Base import bend-lawful-stdlib@0.1.0.0/src/nat.bend as Nat def get(-A: Data, n: Nat, v: Vec(A, n), i: Nat, lt: Nat.LT(i, n)) -> A: match n: case 0n: match lt: case 1n+p: (h, t) = v match i: case 0n: h case 1n+j: get(A, p, t, j, lt) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/nat.bend&name=LT https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/vec.bend&name=Vec