Something went wrong. Try again.
Actually just three programming languages in a trenchcoat
Something went wrong. Try again.
291 B · 21 lines
12345678910111213141516171819202122proc main!() { let mut total = 0
for x in [1, 2, 3] { total += x }
for x in [| 4, 5, 6 |] { total += x }
for k:v in {| 7 => 8, 9 => 10 |} { total += k + v }
for x in 11 : 12 : 13 : unit { total += x }
exit total}