From 5df9c71bccd3aa2d9dfd08337932c767d5373dbf Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Fri, 8 Apr 2022 19:13:38 -0400 Subject: [PATCH] Play with piplines --- hello.ld | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/hello.ld b/hello.ld index 8c950ba..5cbca10 100644 --- a/hello.ld +++ b/hello.ld @@ -1,8 +1 @@ -fn explode_if_ten { - (10) -> panic! ("That was ten") - (x) -> print ("Ok, not ten!") -} - -explode_if_ten (8) - -explode_if_ten (10) \ No newline at end of file +do "hello!" > fn (x) -> print (x) > print \ No newline at end of file