uniform function call syntax

This commit is contained in:
2026-06-06 22:29:25 +02:00
parent 3a53cd4f32
commit 3098d0abf9
34 changed files with 488 additions and 398 deletions

View File

@@ -4,9 +4,9 @@ func main[] : i64
for a in 500..1000
for b in 500..1000
if a * b > out
s := str.from_i64(a * b)
s_rev := str.reverse(s)
if str.equal(s, s_rev)
s := (a * b)->to_str()
s_rev := s->reverse()
if s->equal(s_rev)
out = a * b
mem.free(s)
mem.free(s_rev)