1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00

Update pipe.hz

This commit is contained in:
Natapat Samutpong 2022-03-13 05:38:39 +07:00
parent 516a7ac04a
commit 1f5eaab23a

View file

@ -3,11 +3,12 @@ fun bar (xs: int) (x: int): int = return xs - x;
fun main: int = do
let res: int = foo(69)
|> bar(1);
|> bar(1);
@write(res);
@write("\n");
let y: int = 68 |> foo();
let y: int = 68
|> foo();
@write(y);
end;