e0/examples/functions.e0

8 lines
92 B
Text
Raw Normal View History

2022-04-28 16:33:26 +00:00
fn compute(x : int) -> int {
return 120 + x;
2022-04-13 07:09:56 +00:00
}
fn main() -> int {
2022-04-28 16:33:26 +00:00
return compute(3);
2022-04-13 07:09:56 +00:00
}