aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 73e2160f..2e9c6037 100644
--- a/README.md
+++ b/README.md
@@ -5,12 +5,12 @@ language that cross-compiles to C. Tomo is designed to anticipate and influence
the language design decisions of the future.
```
-func greeting(name:Text)->Text
+func greeting(name:Text)->Text:
greeting := "hello {name}!"
words := greeting:split(" ")
return " ":join([w:capitalize() for w in words])
-func main(name="World")
+func main(name="World"):
to_say := greeting(name)
say(to_say)
```