aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/hello.halk4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hello.halk b/examples/hello.halk
index f6a7c9f..06a3d95 100644
--- a/examples/hello.halk
+++ b/examples/hello.halk
@@ -23,7 +23,7 @@ fn.sum_all,_ -> { [variadic functions are
};
fn.fibonacci,n -> {
- if.or.(=.n, 0), (=.n, 1) -> { [functions ending in '?' should be predicates]
+ if.or.(eq.n, 0), (eq.n, 1) -> { [functions ending in '?' should be predicates]
return.1;
};
return.sum.
@@ -32,6 +32,6 @@ fn.fibonacci,n -> {
};
fn.main -> { [where our code will begin executing]
- greeting.[comments can be placed *anywhere*]"world.";
+ greeting.[comments can be placed *anywhere*]'world.';
exit.0; [exit with code 0 for success]
};