Add set index in list, and update lib+examples+tests

This commit is contained in:
Neemek 2026-08-20 13:44:10 +02:00
parent 09ac16a42d
commit 3bccc227ba
Signed by: neemek
GPG key ID: 84FFE4D7D40AB25E
12 changed files with 117 additions and 60 deletions

View file

@ -1,5 +1,5 @@
fn<T, R> ([T]) map(f: fn(T) -> R) -> [R] {
fn map<T, R>(list: [T], f: fn(T) -> R) -> [R] {
out := []
for v in list.iter() {