mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
15 lines
267 B
Plaintext
15 lines
267 B
Plaintext
fun add2 (lhs: int) (rhs: int): int = do
|
|
return lhs + rhs;
|
|
end;
|
|
|
|
fun main: void = do
|
|
let result: int = add2(34, 35);
|
|
@write(result);
|
|
@write("\n");
|
|
if result == 69 then
|
|
@write("big cool");
|
|
else
|
|
@write("not cool");
|
|
end;
|
|
end;
|