mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
Compare commits
No commits in common. "29ad3b32e8b21ebd2469cdffdcf7df9ad8c1596c" and "35abd6b1b1f76d3e6438b7b1a989b013b5716142" have entirely different histories.
29ad3b32e8
...
35abd6b1b1
|
@ -15,8 +15,6 @@ fun main: int = do
|
|||
return 69;
|
||||
end;
|
||||
```
|
||||
> The `return 69` is the exit code (like C++), try running `echo $?` to see it!
|
||||
|
||||
Note: Everything in this project can be changed at anytime! (I'm still finding out what work best for lots of thing) if you have an idea, feel free to create an issues about it, or even create a PR! (I'd be very happy)
|
||||
|
||||
# Prerequistie
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
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;
|
4
example/hello_world_pipe.hz
Normal file
4
example/hello_world_pipe.hz
Normal file
|
@ -0,0 +1,4 @@
|
|||
fun main: int = do
|
||||
"Hello, World!\n"
|
||||
|> @write();
|
||||
end;
|
Loading…
Reference in a new issue