From 5ed314de157638c32b382b5c00037d310ed4ecba Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Fri, 1 Nov 2024 16:23:32 -0400 Subject: [PATCH] update prelude docs --- prelude.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prelude.md b/prelude.md index bfb91c4..96f0f9c 100644 --- a/prelude.md +++ b/prelude.md @@ -1133,12 +1133,13 @@ Converts an angle in radians to an angle in turns. --- ### random -Returns a random something. With zero arguments, returns a random number between 0 (inclusive) and 1 (exclusive). With one argument, returns a random number between 0 and n. With two arguments, returns a random number between m and n. Alternately, given a collection (list, dict, set), it returns a random member of that collection. +Returns a random something. With zero arguments, returns a random number between 0 (inclusive) and 1 (exclusive). With one argument, returns a random number between 0 and n. With two arguments, returns a random number between m and n. Alternately, given a collection (tuple, list, dict, set), it returns a random member of that collection. ``` () (n as :number) (m as :number, n as :number) (l as :list) +(t as :tuple) (d as :dict) (s as :set) ```