Something went wrong. Try again.
Actually just three programming languages in a trenchcoat
Something went wrong. Try again.
258 B · 21 lines
12345678910111213141516171819202122type xyz n { rule above(x) <- is x > n
export above}
type abc { rule ns(1) rule ns(2) rule ns(3)
export ns}
proc main!() { let mut total = 0 for abc::ns(n) and xyz 1::above(n) { total += n } exit total}