aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorc2024-01-06 22:16:06 -0500
committerc2024-01-06 22:16:06 -0500
commitd3ed2864afd3d470a39c7ef2ec1a53deaae18d14 (patch)
tree9bfedf02a653d2dac9b90cc102bf505cfc49ac2d /examples
parentc71b98b5b4d14cf30602064d7041828ba8244372 (diff)
Tests worked out.
Diffstat (limited to 'examples')
-rw-r--r--examples/hello.halk2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello.halk b/examples/hello.halk
index 0fb2fd6..4eeeeb7 100644
--- a/examples/hello.halk
+++ b/examples/hello.halk
@@ -2,7 +2,7 @@
:str:hello = "Hello"; ` Define a variable "hello" with the type "str". `
-:str:greet.:str:target = strcat.hello, ", ", target; ` Define a function "greet" that returns a "str" and accepts an
+:str:greet.:str:target = strcat.hello, " ", target, "."; ` Define a function "greet" that returns a "str" and accepts an
argument "target", also of type "str". `
` some more functions `