array and linked-list: at operator

This commit is contained in:
2026-07-13 14:39:26 +02:00
parent daca05e637
commit 6b561fea45
6 changed files with 176 additions and 0 deletions
+2
View File
@@ -80,6 +80,8 @@ func TestLinkedListParser(t *testing.T) {
/* 7 */ {`L=[<1>] + [<2,3>]; L[0]=100; L`, list.NewLinkedListA(100, 2, 3), nil},
/* 8 */ {`builtin "base"; L=[<1>]; isList(L)`, true, nil},
/* 9 */ {`2 IN [<1,2,3>]`, true, nil},
/* 10 */ {`2 AT [<1,2,3>]`, int64(1), nil},
/* 11 */ {`4 AT [<1,2,3>]`, int64(-1), nil},
}
// t.Setenv("EXPR_PATH", ".")