Play with piplines

This commit is contained in:
Scott Richmond 2022-04-08 19:13:38 -04:00
parent fd832ac38e
commit 5df9c71bcc

View File

@ -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)
do "hello!" > fn (x) -> print (x) > print