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) ```