Garbage-collect intermediate module variables

You can use a variation of what you wrote as:

let a1 = 3, a2 = 5
    global const var1 = a1 + a2
end
2 Likes