1Lazy.List(3kaya) Kaya module reference Lazy.List(3kaya)
2
3
4
6 Lazy::List - Lazy linked list type.
7
9 Lazy::List< a >
10
11
12 = nil()
13
14
15 | cons(a head,Lazy::List<a> () tail)
16
18 As Prelude.List (3kaya) , but using a function for the tail. The tail
19 of the list will be generated only when required.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
31
32
33Kaya December 2010 Lazy.List(3kaya)