mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
8 lines
185 B
Plaintext
8 lines
185 B
Plaintext
|
fun foo (xs: int): int = return xs + 1;
|
||
|
fun bar (xs: int) (x: int): int = return xs - x;
|
||
|
|
||
|
fun main: int = do
|
||
|
let res: int = foo(69)
|
||
|
|> bar(1);
|
||
|
@write(res);
|
||
|
end;
|