Skip to content

Commit

Permalink
Merge pull request #1202 from andrew-johnson-4/usize-api
Browse files Browse the repository at this point in the history
p
  • Loading branch information
andrew-johnson-4 authored Jan 30, 2025
2 parents 9ce0985 + 33c0951 commit 74f8e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SRC/p.lsts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

let .r(tt: Type, i: U64): Type = (
let .r(tt: Type, i: USize): Type = (
match tt {
TGround { parameters=parameters } => parameters.nth(i, TAny);
_ => TAny;
Expand All @@ -10,7 +10,7 @@ let .r2(tt: Type): Type = tt.r(1);
let .r3(tt: Type): Type = tt.r(2);
let .r4(tt: Type): Type = tt.r(3);

let .l(tt: Type, i: U64): Type = (
let .l(tt: Type, i: USize): Type = (
match tt {
TGround { parameters=parameters } => parameters.reverse.nth(i, TAny);
_ => TAny;
Expand Down

0 comments on commit 74f8e06

Please sign in to comment.