aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-List.sample.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/tomo-List.sample.3')
-rw-r--r--man/man3/tomo-List.sample.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/tomo-List.sample.3 b/man/man3/tomo-List.sample.3
index 1b10467c..449e0531 100644
--- a/man/man3/tomo-List.sample.3
+++ b/man/man3/tomo-List.sample.3
@@ -2,21 +2,21 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH List.sample 3 2025-04-19T14:52:07.134200 "Tomo man-pages"
+.TH List.sample 3 2025-04-21T14:44:34.259214 "Tomo man-pages"
.SH NAME
-List.sample \- Selects a sample of elements from the list, optionally with weighted probabilities.
-
+List.sample \- weighted random choices
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI List.sample\ :\ func(list:\ [T],\ count:\ Int,\ weights:\ [Num]?\ =\ ![Num],\ random:\ func(->Num)?\ =\ none\ ->\ [T])
.fi
-
.SH DESCRIPTION
Selects a sample of elements from the list, optionally with weighted probabilities.
+.SH ARGUMENTS
+
.TS
allbox;
lb lb lbx lb