aboutsummaryrefslogtreecommitdiff
path: root/docs/functions.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-03 22:37:48 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-03 22:37:48 -0500
commitfc9a6f1416be514e9d26b301d05e7e347560560b (patch)
tree7d61cc3657c36dde05135f17dbf5923cff177abf /docs/functions.md
parent52e3d3fe6f2c3e5051affe155fed364d1a5d623c (diff)
Add RNGs to the language
Diffstat (limited to 'docs/functions.md')
-rw-r--r--docs/functions.md2
1 files changed, 1 insertions, 1 deletions
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.