1Prelude.List(3kaya)          Kaya module reference         Prelude.List(3kaya)
2
3
4

NAME

6       Prelude::List - Linked list type.
7

SYNOPSIS

9       Prelude::List< a >
10
11
12     = nil()
13
14
15     | cons(a head,Prelude::List<a>  tail)
16

DESCRIPTION

18       nil  creates an empty list, cons creates a non empty list. Linked lists
19       may be iterated over using a for loop.
20
21
22    list = cons(2,cons(5,cons(3,nil)));
23

AUTHORS

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

LICENSE

29       The  Kaya  standard  library  is free software; you can redistribute it
30       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
31       License  (version  2.1  or  any later version) as published by the Free
32       Software Foundation.
33
35       Prelude.array (3kaya)
36       Prelude.reverse (3kaya)
37
38
39
40Kaya                             December 2010             Prelude.List(3kaya)
Impressum