edlang/example.ed

10 lines
121 B
Plaintext
Raw Normal View History

2023-03-25 14:29:49 +00:00
fn add(a: i64, b: i64) -> i64 {
return a + b;
}
fn main() {
let x = 2 + 3;
let y = add(x, 4);
2023-03-26 10:06:08 +00:00
return;
2023-03-25 14:29:49 +00:00
}