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

NAME

6       Array::reverse - Reverse an array in-place.
7

SYNOPSIS

9       Void reverse( var [a] xs )
10

ARGUMENTS

12       xs The array to reverse
13

DESCRIPTION

15       This function reverses an array in-place.
16
17
18    xs = [1,2,3,4,5];
19    reverse(xs);
20    // xs = [5,4,3,2,1]
21

AUTHORS

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

LICENSE

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