Browse Source

Fix examples

github-actions
Garrit Franke 2 years ago
parent
commit
7308868b67
  1. 6
      examples/greeter.sb
  2. 2
      examples/hello_world.sb

6
examples/greeter.sb

@ -1,7 +1,7 @@
main :: () {
return greet("Garrit")
fn main() {
return greet("World")
}
greet :: (name) {
fn greet(name) {
return "Hello " + name
}

2
examples/hello_world.sb

@ -1,3 +1,3 @@
fn main(n) {
n * 2;
return "Hello World"
}

Loading…
Cancel
Save