aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-List.random.3
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-11-29 13:27:11 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-11-29 13:27:11 -0500
commit353a1a40173d4722809e2cad215ab734bf68b283 (patch)
tree77055997b202fd028709af53ac13d8abd0a8c2ae /man/man3/tomo-List.random.3
parenta0ea1840d837650b10ae4f9a3bb05ded08322510 (diff)
Improved manpages.
Diffstat (limited to 'man/man3/tomo-List.random.3')
-rw-r--r--man/man3/tomo-List.random.36
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man3/tomo-List.random.3 b/man/man3/tomo-List.random.3
index 0c82bfd0..55702485 100644
--- a/man/man3/tomo-List.random.3
+++ b/man/man3/tomo-List.random.3
@@ -2,7 +2,7 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH List.random 3 2025-09-21 "Tomo man-pages"
+.TH List.random 3 2025-11-29 "Tomo man-pages"
.SH NAME
List.random \- pick a random element
.SH LIBRARY
@@ -23,7 +23,7 @@ lb lb lbx lb
l l l l.
Name Type Description Default
list [T] The list from which to select a random element. -
-random func(min,max:Int64->Int64)? If provided, this function will be used to get a random index in the list. Returned values must be between `min` and `max` (inclusive). (Used for deterministic pseudorandom number generation) none
+random func(min,max:Int64->Int64)? If provided, this function will be used to get a random index in the list. Returned values must be between \fBmin\fR and \fBmax\fR (inclusive). (Used for deterministic pseudorandom number generation) none
.TE
.SH RETURN
A random element from the list.
@@ -32,3 +32,5 @@ A random element from the list.
.EX
assert [10, 20, 30].random() == 20
.EE
+.SH SEE ALSO
+.BR Tomo-List (3)