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

9 lines
188 B
Plaintext
Raw Normal View History

fun main: int = do
2022-03-12 19:44:02 -06:00
-- Normal way of hello world
2022-03-12 16:00:42 -06:00
@write("Hello, World!\n");
return 69;
2022-03-12 19:44:02 -06:00
-- Hello world piped to @write() function
"Hello, World!\n"
|> @write();
end;