1Array.shuffle(3kaya)         Kaya module reference        Array.shuffle(3kaya)
2
3
4

NAME

6       Array::shuffle - Randomly reorder an array.
7

SYNOPSIS

9       Void shuffle( var [a] xs )
10

ARGUMENTS

12       xs The array to shuffle
13

DESCRIPTION

15       Randomly   reorder  an  array  in-place.  Because  this  function  uses
16       Builtins.rand (3kaya) to determine the  order,  you  must  have  called
17       Builtins.srand (3kaya) before you use it.
18

AUTHORS

20       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
21       (kaya@kayalang.org). For further information see http://kayalang.org/
22

LICENSE

24       The Kaya standard library is free software;  you  can  redistribute  it
25       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
26       License (version 2.1 or any later version) as  published  by  the  Free
27       Software Foundation.
28
29
30
31Kaya                             December 2010            Array.shuffle(3kaya)
Impressum