for1 a b f = if a < b then
f a
for1 (a+1) b f
for3 a b f i j = if a < b then for3 (a+1) b f i (f a i j) else j
isprime i = for3 2 i (fn i j b -> b and (j % i != 0)) i true
for1 1 30 (fn i -> if isprime i then print i)
print "Hello world!"
Antelive A community playground for the Ante language