diff options
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki index 6898888..6509423 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -527,6 +527,11 @@ Returns a random integer such that N <= {{(rand <M>)}} < {{<M>}}. Shuffles the vector {{<vector>}} randomly in-place using a Fisher-Yates shuffle. +<procedure>(sample <obj>)</procedure> + +Returns a random element of the list/vector/string {{<obj>}}. +Returns a random key/value pair of the hash-table {{<obj>}}. + == Special syntax |