From e15cb21cd5bfca686bd0d068280da3702aa9758e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 3 Sep 2024 21:09:11 -0400 Subject: Fix up CLI parsing --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6b686410..3be00859 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ the language design decisions of the future. ``` func greeting(name:Text)->Text: - greeting := "hello {name}!" - words := greeting:split(" ") - return " ":join([w:capitalize() for w in words]) + greeting := "hello $name!" + words := greeting:split($/ /) + return " ":join([w:title() for w in words]) func main(name="World"): to_say := greeting(name) -- cgit v1.2.3