From 1f5eaab23a0dcf1ac5bdac3e8f8c03b3dfb89847 Mon Sep 17 00:00:00 2001 From: Natapat Samutpong Date: Sun, 13 Mar 2022 05:38:39 +0700 Subject: [PATCH] Update pipe.hz --- example/pipe.hz | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/pipe.hz b/example/pipe.hz index 7ec9960..371d42c 100644 --- a/example/pipe.hz +++ b/example/pipe.hz @@ -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; \ No newline at end of file