diff options
author | c | 2024-01-06 22:16:06 -0500 |
---|---|---|
committer | c | 2024-01-06 22:16:06 -0500 |
commit | d3ed2864afd3d470a39c7ef2ec1a53deaae18d14 (patch) | |
tree | 9bfedf02a653d2dac9b90cc102bf505cfc49ac2d /examples | |
parent | c71b98b5b4d14cf30602064d7041828ba8244372 (diff) |
Tests worked out.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hello.halk | 2 |
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 ` |