not done yet

This commit is contained in:
Neemek 2025-03-30 10:42:28 +02:00
parent b73af5f92f
commit 49c15f6fb6
15 changed files with 473 additions and 389 deletions

12
lib/list.ang Normal file
View file

@ -0,0 +1,12 @@
func map(list: list[any], f: func(any)any) list[any] {
out := []
i := 0
while i < list.length() {
out.append(f(list.at(i)))
i = i + 1
}
return out
}