anglais/examples/func.ang

6 lines
65 B
Text

fn sum(a: int, b: int) -> int {
a + b
}
println(sum(1, 2))