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()` --- docs/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/functions.md') diff --git a/docs/functions.md b/docs/functions.md index 9f95277f..ba5e86b3 100644 --- a/docs/functions.md +++ b/docs/functions.md @@ -35,7 +35,7 @@ callsite: ``` **Note:** Default arguments are re-evaluated at the callsite for each function -call, so if your default argument is `func foo(x=random:int(1,10) -> Int)`, then +call, so if your default argument is `func foo(x=random.int(1,10) -> Int)`, then each time you call the function without an `x` argument, it will give you a new random number. -- cgit v1.2.3