diff options
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 ` |