From 8f5856e86e50429d1b28039ba3d876af616a5279 Mon Sep 17 00:00:00 2001 From: c+1 Date: Sat, 13 May 2023 15:16:16 -0400 Subject: _/|\_ --- examples/hello.halk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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] }; -- cgit v1.2.3