From 2bb2ff871fa1761478442bec5f6a32c9428360a1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 14:20:18 -0400 Subject: Change method calls to use `foo.baz()` instead of `foo:baz()` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8654078c..a86d77c3 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ the language design decisions of the future. ``` func greeting(name:Text, add_exclamation:Bool -> Text): message := "hello $name" - message = " ":join([w:title() for w in message:split_any(" ")]) + message = " ".join([w.title() for w in message.split_any(" ")]) if add_exclamation: message ++= "!!!" return message -- cgit v1.2.3