From fc9a6f1416be514e9d26b301d05e7e347560560b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 3 Nov 2024 22:37:48 -0500 Subject: Add RNGs to the language --- 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 174ad23a..05d84e4a 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=Int.random(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