generic types, any -> opaque

This commit is contained in:
2026-07-17 11:44:05 +02:00
parent af08d1888a
commit 1471c229c2
20 changed files with 284 additions and 167 deletions

View File

@@ -1,7 +1,7 @@
include "$/io.zr"
include "$/containers.zr"
func multiply[n: Array, x: i64] : void
func multiply[n: Array<i64>, x: i64] : void
carry := 0
for i in 0..n->size
prod : i64 = n->nth(i) * x + carry