mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
mix together hello world
This commit is contained in:
parent
35abd6b1b1
commit
6642163cd7
|
@ -1,4 +1,9 @@
|
|||
fun main: int = do
|
||||
-- Normal way of hello world
|
||||
@write("Hello, World!\n");
|
||||
return 69;
|
||||
|
||||
-- Hello world piped to @write() function
|
||||
"Hello, World!\n"
|
||||
|> @write();
|
||||
end;
|
|
@ -1,4 +0,0 @@
|
|||
fun main: int = do
|
||||
"Hello, World!\n"
|
||||
|> @write();
|
||||
end;
|
Loading…
Reference in a new issue