summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-11-28 20:25:09 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-11-28 20:25:09 +0100
commit73b23b27998906ec479a995434ca5b664f0c0912 (patch)
tree8a594b6d3e243760aa8767a7b0d3111d7a490972 /mew.svnwiki
parent81f524c408894e57e29da8f72552200b92565adc (diff)
downloadmew-73b23b27998906ec479a995434ca5b664f0c0912.tar.gz
mew-73b23b27998906ec479a995434ca5b664f0c0912.tar.xz
mew-73b23b27998906ec479a995434ca5b664f0c0912.zip
sample: just shuffle if fewer elements are requested than available
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki8
1 files changed, 4 insertions, 4 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index 60db721..6de85b1 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -541,11 +541,11 @@ Returns a random key/value pair of the hash-table {{<obj>}}.
 
 <procedure>(sample <obj> <N>)</procedure>
 
-Returns a random list/vector/string consisting of {{<N>}} elements of
-the list/vector/string {{<obj>}}, without replacement.
+Returns a random list/vector/string consisting of up to {{<N>}}
+elements of the list/vector/string {{<obj>}}, without replacement.
 
-Returns a random hash-table consisting of {{<N>}} key/value pairs of
-the hash-table {{<obj>}}, without replacement.
+Returns a random hash-table consisting of up to {{<N>}} key/value
+pairs of the hash-table {{<obj>}}, without replacement.
 
 
 == Special syntax