edlang/example.ed
2023-05-14 18:11:38 +02:00

10 lines
130 B
Plaintext

fn add(a: i32, b: i32) -> i32 {
return a + b;
}
fn main() -> i32 {
let x = 2 + 3;
let y = add(x, 4);
return y;
}