let project: Str = "acme-billing"
let major: Int = 2
let minor: Int = 14
print(project + " v" + str(major) + "." + str(minor))
Lesson 1 / main.vary
Values and types
Bind typed values and print a release string.
let binds an immutable value. Type annotations are optional when the right-hand side makes the type obvious, but they cost nothing and they document intent for the next reader.
vary run main.vary
Expected output
acme-billing v2.14