diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-02 01:48:29 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-02 01:48:29 -0400 |
| commit | f908205df8d30f417e752e1d8c0dbb3c3fa6c85e (patch) | |
| tree | 4b7d18380a0e13cd2bd642aeee98a64ec424bf72 | |
| parent | 34b78b4bf27ad1ba450b248f861393d73147fe5e (diff) | |
Update example in readme
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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($/{space}/)]) + message = " ":join([w:title() for w in message:split_any(" ")]) if add_exclamation: message ++= "!!!" return message |
